Skip to content

ror3d/delta-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delta Scripting Language

Visit the Wiki for syntax and language information.

Compiling

To compile, you need CMake, Flex and Bison

Only tested under mac. Should work under linux. No promises under windows. For windows Flex try here.

Theoretically the Flex library is not needed in the system to build if the lexer c file is already provided.

To create only the lexer engine c file, run:

$ cd /path/to/the/root/dir
$ cmake .
$ make lexerc

To create only the parser engine c file, run:

$ cd /path/to/the/root/dir
$ cmake .
$ make parserc

Now, to compile, run:

$ cd /path/to/the/root/dir
$ cmake .
$ make

This should create an executable named delta in the same directory.

In the future the ability to create static and dynamic libraries (and dlls) will be added, but for now only the executable-product compilation works.

TODO

  • Finish the language syntax definition.

  • Finnish the lexer.

  • Create the parser/semantic analyzer (Bison / Berkeley Yacc ?).

  • Create the optimizer. This will be, at first, skipped over.

  • Define a bytecode for the compiled executable.

  • Create the code generator.

  • Create the virtual machine.

Contributors

Interesting links

About

Delta Scripting Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors