Skip to content

About

Developing my own programming language to explore the concepts around compilers.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Suported sytax

Variables

var age 23
var name "Elian"

Compiles to

var age = 23;
var name = "Elian";

Function calls

(add 1 2)
(subtract 5 (add 2 2))

Compiles to

add(1, 2)
subtract(5, add(2, 2))

Roadmap

  • Migrate to typescript Basically done, just some type assertions that could be removed
  • [] More language features
    • [] Variables
      • Initial variable support
      • [] Expressions result as variable values. Ex: var result add(1, 2)
    • Function definition
  • [] Better abstraction for tree transformation
  • [] Use of streams for compilation
  • [] Incremental updates
  • [] Error recovery
  • [] Some form of typechecking
  • [] Different pragma output (Javascript)
  • [] Tests

About

Developing my own programming language to explore the concepts around compilers.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages