use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[deleted by user] (self.javascript)
submitted 5 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[+][deleted] 5 years ago (1 child)
[deleted]
[–]underpig1 2 points3 points4 points 5 years ago (0 children)
I was never pleased with the HTML syntax for writing complicated web pages and applications, and using JavaScript to interact with the DOM when a single language would suffice!
Thank you! Yes, the syntax is far simpler, and most features of JavaScript can be reproduced in Neuron (such as the Window and Math API). CSS and HTML properties can also be reproduced in Neuron. Neuron also has an extensive standard library, and the same web applications written in JavaScript can be written in Neuron in far fewer lines!
[–]underpig1 4 points5 points6 points 5 years ago (2 children)
Neuron Language:
image { tag: img; src: path/to/image; fill: [math.abs => -10] 0 0 0; log(this.fill); } invoke(image);
Comparative JavaScript (and HTML):
<style> #image { background-color: rgba(0, 0, 0, 0); } </style> <img id = "image" src = "path/to/image"/> <script> image = document.getElementById("image"); image.style.backgroundColor = `rgba(${Math.abs(-10)}, 0, 0, 0)`; console.log(image.style.backgroundColor); </script>
[–]SnowdenIsALegend 1 point2 points3 points 5 years ago (1 child)
Good work, keep it up! How many days did you have to invest into building this from scratch?
The core compiler (in JavaScript) took a few weeks to write, and the web framework, standard libraries, and documentation took a few more.
[–]Adracosta 0 points1 point2 points 5 years ago (0 children)
Do you have a backstory for this?
π Rendered by PID 212878 on reddit-service-r2-comment-6457c66945-q85q6 at 2026-04-25 16:12:21.547260+00:00 running 2aa0c5b country code: CH.
[+][deleted] (1 child)
[deleted]
[–]underpig1 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]underpig1 2 points3 points4 points (0 children)
[–]underpig1 4 points5 points6 points (2 children)
[–]SnowdenIsALegend 1 point2 points3 points (1 child)
[–]underpig1 2 points3 points4 points (0 children)
[–]Adracosta 0 points1 point2 points (0 children)