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

基于现有语言的语法, 实现一个对应的中文版本 #36

Closed
nobodxbodon opened this issue Oct 15, 2017 · 3 comments
Closed

基于现有语言的语法, 实现一个对应的中文版本 #36

nobodxbodon opened this issue Oct 15, 2017 · 3 comments

Comments

@nobodxbodon
Copy link
Member

@farteryhr 源自#3 (comment):

盯死一个语言的核心语法bnf,掏出antlr做一个完全对应中文版,中文parse ast生成对应语言代码,我觉得都是很好的成果。

哪个语言比较合适呢? BTW好像你还没加入组啊?

@nobodxbodon
Copy link
Member Author

本以为是单纯的关键词替换, 不过#3 (comment) 听起来更像是类似于CoffeeScript之于JavaScript. 这个设计量就上去了.

@swizl
Copy link

swizl commented Oct 18, 2017

C语言有一个基于tinycc的小成品
C++打算基于clang做一个。

@nobodxbodon
Copy link
Member Author

@farteryhr 现在看来和#25 的目标类似. 如果我的理解有误, 或者你设想的方式方法不同, 请重开此贴.

@nobodxbodon nobodxbodon mentioned this issue Jan 28, 2019
61 tasks
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

2 participants