My personal website created using my DSL written in C++ to generate HTML programmatically
My personal website created using my DSL written in C++ to generate HTML programmatically
Kind of forgot to make a devlog for this but I added a way to make create functions using the JS DSL. It’s currently not perfect, as there are a few safety issues that need fixing and functions aren’t currently appended to the top of the JS automatically.
Images below small test.
Log in to leave a comment
The JS DSL now allows you to do things like foo.bar(args) via the syntax foo(“bar”, args…). There isn’t really much else to say. (:
Images below showing the implementation and some tests.
Log in to leave a comment
Made a few improvements to the JS DSL including:
Images below showing a test script and it’s output. Also the extra ’;‘s are a side effect I haven’t fixed yet
Working on a JavaScript DSL in C++ so I can have the project be 100% c++ as well as being able to have static typing and use some C++ features. Hopefully I can implement functions or console.log next
Images below show 2 test files and their outputs (I would show more but a can’t upload that many files). I can’t show the implementation here because it’s too big so if you want to see that you will have to go onto my GitHub
Log in to leave a comment
Turned my skills list into an interactive physics ball pit. Learnt how to use Matter.js and was reminded that I hate JavaScript.
Log in to leave a comment