X is a programming language for demonstration purposes. It is coded live on stream.
You can find the video archives on this YouTube playlist.
- Episode 1: discussed design and purpose of the programming language, implemented the parser for variable assignment and function call syntax. (commit)
- Episode 2: implemented built-in runtime functions and user-defined functions. (commit)
- Episode 3: wrote a run script to conviniently execute programs in the X language. Implemented code blocks which are similar to anonymous function expressions in JS, and use that and a runtime $if function to implement conditionals instead of an if statement. (commit)
- Episode 4: implemented array literals,
each
,map
,filter
andreduce
functions and added parameters to code blocks. (commit) - Episode 5: implemented implicit returns and tags for collection types. (commit)
- Episode 6: implemented dictionaries. (commit)
- Episode 7: implemented proper if statements and talked about the dangling else problem. (commit)
- Episode 8: code clean up, string runtime functions, fixed if statement bug, did a code challenge.(commit)
The project depends on this libraries:
Also see my course How to Make a Programming Language for more detailed coverage of the topics encountered in this series.
-
index notation syntax
-
operators
-
classes
-
Unicode support (use different languages and emojis for var names)
-
Add enough feature to be able to solve some code challenges and do the word summary program
-
Clojure style protocols
-
FS support
-
DOM support
-
native if statement (done)