Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.18 字符串令牌解析中“令牌”翻译不对 #335

Open
umdreamer opened this issue Oct 9, 2020 · 3 comments
Open

2.18 字符串令牌解析中“令牌”翻译不对 #335

umdreamer opened this issue Oct 9, 2020 · 3 comments

Comments

@umdreamer
Copy link

英文应该是token,这里应该是标记或者字符的意思。

参考:https://baike.baidu.com/item/Token/2615248?fr=aladdin
编译原理术语)
词法分析是计算机科学中将字符序列转换为标记(token)序列的过程。从输入字符流中生成标记的过程叫作标记化(tokenization),在这个过程中,词法分析器还会对标记进行分类。

@flyor2017
Copy link

哈哈哈,我也想提这个问题,token确实应该被翻译成编译原理中的标记/词法单元,而不是令牌。

@renzituo95
Copy link

renzituo95 commented Jan 17, 2022 via email

@flyor2017
Copy link

flyor2017 commented Jan 17, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants