Skip to content

5d-code/stupidtoylanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stupidtoylanguage

Doing this instead of my homework

code


func add(a, b)
  return a + b;

func main() {

}

key features:

  • being able to omit curly braces everywhere
  • break for ifs
  • => operator: evaluate 2 expressions but return the second one so you dont have to do this shiete [do_something(), 2][1]
  • good string lib
  • auto semi colons (sometime??)

todo:

  • fix ungodly amount of memory leaks
  • fix segfaults aka security holes
  • make the lexer
  • make the parser
  • auto semi colons
  • type hints
  • make the interpreter
  • if (!sanity) return;
  • make a compiler sometime
  • self host
  • profit

About

Doing this instead of my homework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages