Joana Borges Late
1 min readApr 8, 2022

--

Hello, you can download the code and see instructions to run it in GitHub (link at the bottom).

There are 3 ways the students of your school can benefit from this stuff.

1) Reading the article and analyzing the code : students will learn how a tokenizer and parser work. It is the same concept for ALL compilers and interpreters of any language (C, C++, Java, HTML, CSS, Python, Ruby, JavaScript, Rust...).

2) Extracting parts of the code and making experiences with it. For example, extracting the tokenizer and editing it to create tokens from a common text.

3) Running the linter (I do this tens of times per day) to find problems in some code. The only problem is that this linter is not designed to check any valid JavaScript code. It is designed to check the *small subset* of JavaScript that I use. Probably you will have to edit/expand it for your needs.

https://github.com/JoanaBLate/dirtyrat

--

--

No responses yet