Get the latest tech news
Berry Script: lightweight embedded scripting language for microcontrollers
Berry is a ultra-lightweight dynamically typed embedded scripting language. It is designed for lower-performance embedded devices.
The Berry interpreter-core's code size is less than 40KiB and can run on less than 4KiB heap (on ARM Cortex M4 CPU, Thumb ISA and ARMCC compiler). Simple and natural syntax, support garbage collection, and easy to use FFI (foreign function interface). Base Type Nil: nil Boolean: true and false Numerical: Integer ( int) and Real ( real) String: Single quotation-mark string and double quotation-mark string Class: Instance template, read only Instance: Object constructed by class Module: Read-write key-value pair table List: Ordered container, like[1, 2, 3] Map: Hash Map container, like{ 'a': 1, 2: 3, 'map': {} } Range: include a lower and a upper integer value, like 0..5
Or read this on Hacker News