Snaptext is a programming language like Snap! but in text.
In Snaptext, everything is a block.
Binary operators and assignments are blocks.
Even the syntax to define a block is a block.
Every block can take inputs, which are in the form of:
:identifier:
=> identifier
[]
=> literal/evaluated expression
()
=> unevaluated expression
{}
=> unevaluated code block
<>
=> unevaluated boolean expression
Comments start with #
.
The implementation of his language will be done in C++.
Edit: I'm thinking about reviving this, but I'll probably prototype it first in JS
can you give us a link to it?
There's no github repo or website as of now, but I may add that later.
couldn't it be done in JS?
Great!I'm already devoloped DPLA (simplyfing it by only using functions and cheat (use native eval() for expresions (oh(noes(parens(again(:()))))))
Interpreted languages are better developed in compiled languages.
No need, I've already implemented it. GitHub - DPLA-S/DPLA: DPLA transpiler
These are the same!((foo)>) is the same as({report foo}>)!
But why do we have to do it in c++?Python (http://www.pyinstaller.org/) will be good too.
PyInstaller simply bundles your code with the Python interpreter, it's the same thing just bundled in an standalone executable.