Skip to content

A trivial interpreted programming language, just for fun 🐦

License

Notifications You must be signed in to change notification settings

Warcophyr/neo-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neo-js

A trivial interpreted programming language, just for fun 🐦

Neo JS Logo

TODO

  • C interpreter, which takes a file that ends in .njs
  • Read file content
  • Parse content
  • Execute the program

Syntax

  • variables declared with let and number of bytes (types are specified on use, lol)
  • functions, maybe with fn, and number of bytes in return!
  • if, cos we need branching baby
  • indentation decides scopes 😎
  • print, cos that's the least we can do (it takes a template string, we need to decide how to print stuff)
  • +, -, *, / (these are enough)

So basically we can do loops by using recursion, and we are happy! 😀

About

A trivial interpreted programming language, just for fun 🐦

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages