FYI - there are interesting ports of Lua language on Arm and PIC32 architectures. For example:
The pic32lua http://askrprojects.net/software/pic32lua/index.html runs on pic32MX795F512 so it may run on chipkit MAX32 well.
The eLua http://www.eluaproject.net/ http://elua-development.2368040.n2.nabble.com/ https://github.com/jsnyder/elua/tree/bikeNomad-master runs on several Arm boards, as well as on STM32F4 Discovery (with full 192kB ram).
Lua includes build-in compiler/interpreter (you do not need any external compiler, except building the Lua hex). The language is easy to learn and powerful. It can include C code easily, is object-oriented by default and supports multithreading (via co-routines). A nice feature is the eLua supports segmented ram spaces (internal/external ram). Both support an SDcard by default, with eLua you may store your Lua sources (or compiled bytecodes) into mcu's flash or on the Sdcard. eLua includes a small shell as well (ls/dir, cat/type, cp, recv, exit, help, ver, lua). The only issue is you need a chip with a sufficient ram space. P.