Skip to content

A toy mark-and-sweep garbage collector implemented on the Sdyn project

License

Notifications You must be signed in to change notification settings

duanqn/sdyn-1.4

Repository files navigation

Sdyn

SDyn is a small dynamic language JIT. It is intended to be useful for eductional audiences, because while it does do all the necessary madness to qualify as a JIT, it does very little more than that.

The language itself is documented in docs/. The implementation is quite simple: The tokenizer and parser are in tokenizer.c and parser.c, and are a simple direct scanner and recursive-descent parser. The internal representation is SSA, and is documented in ir.c. The JIT itself is implemented in jit-arch.c, e.g. jit-x8664.c, and is documented in those files.

SDyn depends on GGGGC (Gregor's General-purpose Generational Garbage Collector), in ggggc, and SJA (small JIT assembler), included in smalljitasm.

License

Anything that exists at commit 4bcd336bf886ae67b0cf8f819349db3b5f3868ad is distributed under the ISC license, which is provided in the Sdyn-LICENSE file.

About

A toy mark-and-sweep garbage collector implemented on the Sdyn project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published