Skip to content

benit8/lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lang

Toy and experiment programming language.

return fn (args, env) {
  println("Hello world! from {}, at {}", args.at(0), env.get("PWD"))
  return 0
}

For now you must return your main function from your entrypoint.

Build

make

Run

./lang samples/hello-world

Todo

  • Lexer

    • strings escape sequences
    • number bases
    • glyphs
  • Parser

    • missing grammar rules
    • types
  • Compiler

    • missing AST nodes
  • Interpreter

    • Runtime errors from native functions
    • Backtracing (debug locations)
  • OOP

    • Better method handling
  • std lib

    • strings
  • User-defined classes

  • TypeChecker

  • Modules/namespaces

  • Fibers

  • EventLoop (libuv)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published