-
Notifications
You must be signed in to change notification settings - Fork 0
Compilation
Socratic_Phoenix edited this page Aug 19, 2017
·
8 revisions
Shnap is an interpreted language, which means that:
- First, the code is parsed into an Abstract Syntax Tree
- Second, the code is executed
That first step can significantly slow down any language, so Shnap offers a 'compiled' format, which is basically just an encoding of the abstract syntax tree. This compiled format is faster to load, so it can increase performance. The interpreter has a flag for compiling. A compiled Shnap script uses the extension cshnap
, while a Shnap archive has the extension sar
(see file extensions).
//TODO: fill out
Home | New Issue | Contact Me