I Created a JavaScript Simulator in Python SLY!
ELDER054

After finding someone’s project that used SLY (Sly Lex Yacc), I decided this would help me be able to create a programming language. So I picked my strongest language: JavaScript, and tried to recreate it in Python.

Link to SLY project I saw is https://repl.it/@sugarfi/Parser-Template

You can create integer or string variables, use comments, and print things so far in my JavaScript.
WARNING: this JS simulator requires you to put a semicolon (;) at the end of statements
You can easily extend and replace these syntax rules to create your own language! I will also try to use this as a reference for a future programming language I’m trying to create!

You are viewing a single comment. View All
Silverdawn2520

cool!

ELDER054

Glad you like it, @Silverdawn2520