Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

Berry

< >

Berry is a programming language created in 2018 by 官文亮.

#744on PLDB 6Years Old
Download source code:
git clone https://github.com/berry-lang/berry
Homepage · Source Code

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).


Example from the web:
def fib(x) if (x <= 1) return x end return fib(x - 1) + fib(x - 2) end

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll