TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I built an online programming language

67 pointsby sandesover 3 years ago

8 comments

fjfaaseover 3 years ago
I build a meta online programming language, where you can define your own grammar ;-). See: <a href="https:&#x2F;&#x2F;fransfaase.github.io&#x2F;ParserWorkshop&#x2F;Online_inter_parser.html" rel="nofollow">https:&#x2F;&#x2F;fransfaase.github.io&#x2F;ParserWorkshop&#x2F;Online_inter_par...</a> An example grammar is found at the bottom of the page.
sandesover 3 years ago
It&#x27;s a multi-language pseudocode interpreter so you can write and run code in English, Spanish, Portuguese and French in your browser.
评论 #29417394 未加载
评论 #29418088 未加载
SwiftyBugover 3 years ago
Very cool!<p>As a native speaker of Portuguese, I think it would look nicer the verbs were all in the same conjugation, simple present. You have &quot;retornar&quot; (return) which is in infinitive form and &quot;escreva&quot; write which is in the present imperative mode. I would choose to put all the verbs in the simple present:<p>retorna =&gt; return faz =&gt; do escreve =&gt; print<p>I couldn&#x27;t find the Portuguese version for &quot;break&quot;, but in my opinion it should be &quot;quebra&quot; or &quot;interrompe&quot;.<p>If this project becomes open source, I&#x27;ll be happy to contribute.
评论 #29419132 未加载
评论 #29419160 未加载
评论 #29418352 未加载
rmnclmntover 3 years ago
The french pseudo-code reminded me of my freshman year in Computer Science degree, so much nostalgia! Completely forgot about all that since then, but I wonder if using your mother tongue to learn programming is truly effective, especially in non-English speaking countries?
评论 #29419459 未加载
评论 #29418463 未加载
clintoncover 3 years ago
&quot;Docs&quot; is broken :) How can I learn about the language, aside from the examples?<p>This scratches a peculiar itch that I have which isn&#x27;t <i>quite</i> addressed by other solutions (codepen, stackblitz, replit, etc). Can you import libraries at all?
评论 #29419465 未加载
alexvodaover 3 years ago
Will you open source this? If yes, i would like to contribute another language.<p>Also, since this is supposed to be pseudocode, maybe it would be better to replace the atribution operator with something else, and the comparison operators with their math variants.
Raudiusover 3 years ago
I built a similar (albeit less polished) javascript interpreted language as a lockdown project.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;raudius&#x2F;homegrown" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;raudius&#x2F;homegrown</a>
ksecover 3 years ago
Off Topic, at the bottom of the page;<p>&gt;Backed by AWS startup programs<p>What does that mean ?
评论 #29418567 未加载
评论 #29424810 未加载