update: added python version of the tokenizer

This commit is contained in:
maix0 2024-09-26 16:51:01 +02:00
parent 40a84e8248
commit 06c2d19097
6 changed files with 339 additions and 0 deletions

9
parser/token.py/app.py Normal file
View file

@ -0,0 +1,9 @@
import make_token
import prettier
s = input("> ")
print(s);
first = make_token.me_tokenize(s)
pass1 = prettier.pass1(first)
prettier.print_tokenlist(pass1)