The source code is parsed to an AST, which is then executed. It began with a Java-Applet. When WebAssembly appeared, I ported it to C++ with a JS/HTML interface and added graphics. Recently I converted the C++ part to C, which halved the size of the wasm file.
Show HN: An Easy Programming Language That Runs in the Browser
11–20 of 91 posts
Re: Show HN: An Easy Programming Language That Runs in the Browser
#12I think there's more value to be had in building better learning resources around programming languages than continually trying to simplify them at the expense of power. Besides that, if someone is already looking for a simple scripting language, Lua already exists. I personally prefer its syntax as well.
A person might make a language so they can learn to make a language. How could Lua exist if a person had no idea the tradeoffs in implementing various languages? You do not know the person's reasons.
I was basing the person's reasoning after the original poster's reply:
> There are so many programming languages - but imho not a real easy one for beginners.
Re: Show HN: An Easy Programming Language That Runs in the Browser
#13Re: Show HN: An Easy Programming Language That Runs in the Browser
#14Re: Show HN: An Easy Programming Language That Runs in the Browser
#15Re: Show HN: An Easy Programming Language That Runs in the Browser
#16Re: Show HN: An Easy Programming Language That Runs in the Browser
#17Really cool. Is there a project repository, and are you accepting contributions?
Re: Show HN: An Easy Programming Language That Runs in the Browser
#18Re: Show HN: An Easy Programming Language That Runs in the Browser
#19Impressive! But why?
There are so many programming languages - but imho not a real easy one for beginners.
There are visual languages that let beginners/non-programmers create real mobile apps, games, business apps with a relatively short learning curve.
But creating a visual language is too much work, it probably requires a large group of people, and there isn't a tool to simplify that process, afaik.