Current CTO exploring entrepreneurship on the side; coach; mentor; instructor.
Dedicated to promoting digital literacy and ideological diversity in tech.
How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
Interesting, this sounds reasonable. Okay so I am writing (very slowly) a programming language and did plan to put an interpreter together at some point. This Language is aiming to be compiled. My language is a subset of ES5 JavaScript with some bits that are wildly off spec, such as CSS as primitives and data structures. I guess I would look at forking an old js debugger and fixing it up.
Current CTO exploring entrepreneurship on the side; coach; mentor; instructor.
Dedicated to promoting digital literacy and ideological diversity in tech.
How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
This is purely speculative, but I believe the debuggers run your code through a custom interpreter /compiler.
You're essentially taking over/replacing the process that normally executes your code.
This is why xdebug for PHP is written in C, for example, since PHP uses a C interpreter.
Interesting, this sounds reasonable. Okay so I am writing (very slowly) a programming language and did plan to put an interpreter together at some point. This Language is aiming to be compiled. My language is a subset of ES5 JavaScript with some bits that are wildly off spec, such as CSS as primitives and data structures. I guess I would look at forking an old js debugger and fixing it up.
That's probably a good way to get started to understanding how it works.
Eventually you'll probably want to cut out the middleman so you can debug your subset of Javascript without having to compile it first.
You could also look to see if there are any open source typescript debuggers, as that's more or less the same thing you're trying to do.
Excellent suggestions Brandon, thank you. 😁