TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: An Easy Programming Language That Runs in the Browser

138 点作者 chkas超过 6 年前

16 条评论

chkas超过 6 年前
What&#x27;s under the hood?<p>The source code is parsed to an <i>AST</i>, which is then executed. It began with a <i>Java-Applet</i>. When <i>WebAssembly</i> appeared, I ported it to <i>C++</i> with a <i>JS&#x2F;HTML</i> interface and added graphics. Recently I converted the <i>C++</i> part to <i>C</i>, which halved the size of the <i>wasm</i> file.
评论 #18112385 未加载
评论 #18116192 未加载
评论 #18114529 未加载
nine_k超过 6 年前
The original Javascript was intended as an easy language that runs in the browser. And so it was in 1996.<p>In reality, it seems, a successful language that runs in the browser had no way around becoming a &quot;full-blown&quot; language, as opposed to &quot;easy&quot;.
评论 #18112240 未加载
KennyCason超过 6 年前
I’m a huge fan of these sorts of simple programming languages. I consider the simplicity of Purebasic and TI-83&#x2F;89 Basic to be one of the main reasons I was able to successfully get into programming in high school despite not having any programming classes. I was also simultaneously learning x86 ASM and while that was also super fun, my Basic programming was far ahead of my ASM. Being able to successfully build simple games in Basic is extremely motivating when learning to code.
Aardwolf超过 6 年前
Nice! It would be more fitting for the style of this language if &#x27;end&#x27; were used instead of &#x27;.&#x27; imho
评论 #18112331 未加载
Kaveren超过 6 年前
I think there&#x27;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.<p>Besides that, if someone is already looking for a simple scripting language, Lua already exists. I personally prefer its syntax as well.
评论 #18111958 未加载
评论 #18113079 未加载
评论 #18112127 未加载
ranit超过 6 年前
Reminds me of the old educational graphics programming language Logo.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Logo_(programming_language)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Logo_(programming_language)</a>
评论 #18112190 未加载
VictorSCushman超过 6 年前
Really cool. Is there a project repository, and are you accepting contributions?
评论 #18112085 未加载
z92超过 6 年前
Great! Brings back the simplicity of Basic and QBasic. How easy it was to draw, animate and create music.
abenedic超过 6 年前
The source is actually pretty readable, do you have a git repository anywhere so others can contribute?
arayh超过 6 年前
Nice work! I would love it if we could get something like a codepen.io for this language, so we could share and debug code with people learning to program.
评论 #18113659 未加载
v01d4lph4超过 6 年前
Impressive! But why?
评论 #18111897 未加载
onemoresoop超过 6 年前
Fantastic work. Hope it finds its niche and grows
Micoloth超过 6 年前
Very cool, both the graphics capabilities and the fact that it&#x27;s Wasm!<p>Is this project open source?
RickJWagner超过 6 年前
Cool! Thanks for sharing.
pmarreck超过 6 年前
There should be something like this except functional&#x2F;immutable
评论 #18112164 未加载
agumonkey超过 6 年前
much logo