4 ms·
> library in any existing language An example of this is APL.jl [1][2] It seems more of a proof-of-concept than a real implementation though - at least, the A
by sundarurfriend 1y ago
> library in any existing language
An example of this is APL.jl [1][2]
It seems more of a proof-of-concept than a real implementation though - at least, the APL wiki calls it a "toy dialect of APL" and says that it "works on a minor subset of APL". [3]
[1] demo: https://nbviewer.org/gist/shashi/9ad9de91d1aa12f006c4 https://nbviewer.org/gist/shashi/9ad9de91d1aa12f006c4
[2] repo: https://github.com/shashi/APL.jl https://github.com/shashi/APL.jl
[3] https://aplwiki.com/wiki/APL.jl https://aplwiki.com/wiki/APL.jl
- andoando 1y agoThis looks more like an interpreter. What I mean is just take the symbols in Klong and write them as methods on arrays. Sure the syntax won't be the same, but does that really warrant a whole new language?
- t-3 1y agoWhy not a whole language when so many problems can be easily reduced to these few methods? It's worth noting that almost all array languages are interpreted, and iteratively constructing a program in the interpreter is common. This style would be painful in a more verbose and lower-level language but works great for ultra-high-level array languages.