Skip to content

Programming language for a study project in the course 'Compiler Construction'. Inspiration and style is still WIP.

License

Notifications You must be signed in to change notification settings

Bejdenn/novalang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

novalang

Programming language for a study project in the course 'Compiler Construction'. For the language specification, see the docs.

Build

To build the project, you need to have the following tools installed:

  • Bison
  • Flex
  • Make

To build the project, run the following command:

make

This will compile the source code and create an executable called novalang.

Run

To run the program, use the following command:

./novalang <input-file>

This will run the program and parse the input file. After the type check was successful, the program will be executed.

Tests

The project contains several tests to ensure the correctness of the interpreter. To run the tests, use the following command:

make test

The test folder follows a specific structure to be able to just test for the successful execution of the program, a specific output or input. For more information on the structure, you can check out the test script.

About

Programming language for a study project in the course 'Compiler Construction'. Inspiration and style is still WIP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published