@euglena/script
v5.0.6
Published
EuglenaScript is a scripting language enable us to create an euglena application in a more easy way. Creation of the application is possible with some dedicated files for particular jobs. The files are listed below.
Downloads
66
Readme
EuglenaScript
EuglenaScript is a scripting language enable us to create an euglena application in a more easy way. Creation of the application is possible with some dedicated files for particular jobs. The files are listed below.
|File Type |File Extension |Description | |-------------------|:-----------------:|---------------------------------------------------------------| |chromosome |.chr | Contains gene objects | |particles |.par | Contains particle objects. | |organelle |.org | Contains definitions of an organelle | |organelle |.ori | Contains an implementation of an organelle | |euglena |.eug | Imports all components and creates an application |
Suggested structure of the application is shown below.
simple-euglena-application
src
particles
chromosomes
organelles
organelle-impls
PIPELINE
1. Lexing
Source Code => Token
2. Parsing
Token List => Abstract Syntax Tree
3. Action Tree
AST => Action Tree
4. Execute
Action Tree => typescript/javascript