Skip to content
/ jsen Public

A bare bones JavaScript compiler and VM

License

Notifications You must be signed in to change notification settings

mayant15/jsen

Repository files navigation

jsen

A non-standard-compliant JS engine meant to illustrate how engines (and VMs in general) work. Supports a very small subset of ECMAScript with no GC.

Features

Supported JS

  • Math operations on literals
  • Stack
  • Primitive variables and runtime types
  • Heap
  • Objects (allocate/deallocate objects)
  • Functions

Jsen

  • Allow adding functions to global object

About

A bare bones JavaScript compiler and VM

Topics

Resources

License

Stars

Watchers

Forks

Languages