Skip to content
/ Fastlang Public

a C++ implementation for a toy proof-of-concept interpreter

Notifications You must be signed in to change notification settings

T3chi/Fastlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastlang

A simple interpreter for a generic C-style programming language.

Was made to solidify principles behind interpreters and compilers. Test files were added to compare performance against C++ and Python equivalents. (Note: The language's name was chosen for irony.) Currently all tokenizing is done by splitting tokens based on whitespace.

example.fast:

println "hello world" ;

var i = 0 ;

while ( i < 100 ) { 

 i = i + 1 ;
 
}

println i ;

About

a C++ implementation for a toy proof-of-concept interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages