Skip to content

TrolledWoods/impose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Impose

A silly little compiler for a programming language.

Except it's not a compiler right now, it's just an interpreter. Compilation will come in the future though! (with full compile time execution using the interpreter)

Running

If no command line arguments are given, it will test the folder named 'tests' where the command is called. This is not final behaviour, it is only there for testing against regressions when working on the compiler.

If you want to compile a specific program, just type cargo run file_name.im and it will run file_name.im.

Hello world

Because every language needs a hello world.

print("Hello, World!\n");

Examples

Check out the tests/ directory for lots of tests which will show you how features work.

Syntax

Syntax changes so often I'm not gonna write about it yet.

About

Another compiler...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages