XXL: A minimal vector programming language (2016)
github.com
github.com
Previously on HN: https://news.ycombinator.com/item?id=11379461
Also, kick - enjoying your vector language submissions on HN lately, keep it up
The hardest part was figuring out how the execution mechanism would work - what exactly happens when code is evaluated, etc. There is obviously tons of prior art to look at from other languages but I wanted to take my own more minimal approach to the problem and not design an entire virtual machine with bytecode, etc.
Which resources would you recommend for someone who's learning about building a pgoramming language?
3,6,9 * 3
(9,18,27)
3 * 3
9
Let me know if this makes sense so I can update the readme correspondingly.One of the quirky things about the vector language community is that many of us like to write "wide" code that uses the whole line. The goal is to have as much of the program visible on-screen at one time as possible so you can minimize scrolling around, having to open other files, etc.
I was skeptical at first but I came to like coding in that way. I noticed that when I have to pull up that library's source to look at how something works I sorta lose track of what I was doing and that's how bugs happen.
Of course that example code isn't really a shining example of the practice and should be reworked. Tutorial stuff shouldn't feel dense. Thank you for the feedback.