📄 readme
字号:
The example input file has been slightly modified from the analogous Java example: the non-ascii characters have been removed and replacedby some ascii data.The lexer would fail, if it tries to compare a byte >0x7f from the inputto a unicode constant.It would work fine, if you feed unicode into the lexer, but then sys.stdout.write() would probably fail, when it tries to print non-asciidata.It will also work with non-ascii input (the lexer operates on unicode()strings), but then you'll have to do some more work (which I omitted forsimplicity): - decode the input using the appropriate encoding into a unicode string. - encode the data as you send it to the console or store it in a file.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -