How to make your own programming language?

  • 0 Replies
  • 414 Views
*

FlatAssembler

  • 469
  • Not a FE-er
How to make your own programming language?
« on: December 01, 2018, 01:13:20 AM »
Hey, guys!
So, I've been thinking about making my own programming language that can be both interpreted and compiled and can be run on web. For now, I've just made a web-app that converts arithmetic expressions to i486-compatible assembly and interprets them.
http://flatassembler.000webhostapp.com/compiler.html
So, what do you think is the next step?
I only have a vague idea of what the syntax should look like right now, I am planning to make it possible to use both S-expressions and infix notation for arithmetic expressions and only LISP-like syntax everywhere else.
Do you think I need to rewrite my web-app to some language other than JavaScript? Many people say JavaScript is a bad language for those things, but I don't quite see why right now.
Fan of Stephen Wolfram.
This is my parody of the conspiracy theorists:
https://www.theflatearthsociety.org/forum/index.php?topic=71184.0