Hasty Briefsbeta

Bilingual

Show HN: Burrito: An embeddable QuickJS wrapper written in Nim

10 months ago
  • #JavaScript
  • #QuickJS
  • #Nim
  • Burrito is a Nim wrapper for the QuickJS JavaScript engine, enabling JavaScript execution in Nim applications.
  • It allows embedding a full JavaScript REPL with syntax highlighting and command history in Nim apps with minimal code.
  • Custom Nim functions can be exposed to JavaScript, facilitating bidirectional interaction between Nim and JavaScript.
  • QuickJS can be easily integrated into Nim projects, with support for standard and OS modules.
  • Burrito supports zero-overhead C function bridging and automatic type marshaling between Nim and JavaScript.
  • The tool is versatile, useful for scripting, plugin systems, dynamic code execution, and more.