MHN

Show HN: Cicada – A scripting language that integrates with C

57 points by briancr·304 days ago·github.com·Show in HN

I wrote a lightweight scripting language that runs together with C. Specifically, it's a C library, you run it through a C function call, and it can callback your own C functions. Compiles to ~250 kB. No dependencies beyond the C standard library.

Key language features:

  • Uses aliases not pointers, so it's memory-safe
  • Arrays are N-dimensional and resizable
  • Runs scripts or its own 'shell'
  • Error trapping
  • Methods, inheritance, etc.
  • Customizable syntax
Add a comment on Hacker News →
1 of 35 comments
  1. Nice, the more the merrier!

    I've been working on one for Kotlin lately:

    https://gitlab.com/codr7/shik