Skip to content
/ alloy Public

A scanner and parser implementation intended for a C-like language.

Notifications You must be signed in to change notification settings

ritzow/alloy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Alloy" Compiler

A parser and scanner for what could be a C or Java-like programming language. The code currently creates some basic nested data structures with "tags" (similar to Java annotations, using "#" instead of "@") which store expression parameters separated by the termination of the tag name or previous expression. This provides a way for the language to be keyword-free, which could allow source code to be entirely in non-English provided that built-in types are given name aliases. Because tags and expressions are used, everything must be lazy evaluated, program structure cannot necessarily be determined at parse-time.

About

A scanner and parser implementation intended for a C-like language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages