Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ZScript

ZScript is the scripting language for ZQuest Classic. The ZScript compiler is implemented here. The parser uses flex/bison and the codegen (to ZASM, the bytecode that runs in the game engine) is C++. The language can be explored in the web playground.

This repo has two things:

  • grammar/ contains a PEG (Parsing expression grammar) for ZScript, along with scripts to validate the PEG grammar with the real compiler.
  • zig/ contains a barely-baked reimplementation of the ZScript compiler in Zig. Currently it's barely more than a lexer.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages