Skip to content

timbess/starlark-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starlark-zig

Parser/Compiler/Runtime for Starlark written in Zig with bdwgc as the garbage collector. Still very much WIP.

To run it:

# This is a checked in test file to play with.
zig build run <./test.star

To do a watch build of that, run:

zig build run-test-star --watch

That will rerun the build/interpreter on every change to a source file or test.star.

Error Reporting

It has some basic error reporting with a traceback and line numbers: img

TODO

  • Make pool for small numbers/strings.
  • Figure out a good multi-threading model.
  • Test long running processes and GC.
  • Parse/Compile attribute access.

About

Zig implementation of starlark.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published