Skip to content

ekscript/ekscriptalt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alternative compiler for EkScript written in Zig

Compile to Zig

This EkScript Compiler compiles to Zig instead of C

  • Maintains an excellent C ABI.
  • Easier to do coroutines
  • Excellent standard library with native support for String hashmap and arraylist
    • Two of the most defining JavaScript data structures

Why Zig?

  • Performant - A faster alternative to the TypeScript compiler
  • Custom parser - A faster and more accurate parser that detects errors faster and better
  • Better error handling - Better error handling
  • Portable: Can be used by anyone

Building

git clone https://github.com/ekscript/ekscriptalt
cd ekscriptalt
zig build

To run the tests:

zig build test

To run the tests while watching:

nodemon

About

An alternative EkScript compiler using Zig that compiles to Zig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published