代码拉取完成,页面将自动刷新
同步操作将从 方舟编译器孵化器/MapleFE 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
[Origin of MapleFE] This project is to create a programming language frontend, which leverages 'Autogen' to complete most of work of lexing and parsing. The origin of this project is coming from the history in our parst twenty years of work in compiler and programming languages. We are tired of the tons of modifications of existing opensource frontend project like Clang, if we want to do something in new language features. So we decided to have our own frontend, which could be easier to handle new languages. [Key points] 1. Autogen is the key idea which automatically generates lexing/parsing data structures in .h/.cpp files which are further included in the language frontend. The language implementors write .spec files describing the language specifications under the language directory, such as java/. 2. A finite state automata is the key idea of parsing the programming language. [Source code directory] 1. Most programming languages have very similar syntax, so it's very helpful to put the shared part into a common directory. shared/ is for this usage. It contains a) shared data structures representing shared syntax; b) shared parser/translater components; 2. Language specific parts are in their own directory, such as java/. It contains some special part of this language, the language .spec files, and gen_xxx.h/gen_xxx.cpp which are generted by autogen. 3. The tool autogen is under autogen/ [How to build] 1. cd YOUR_PROJECT_DIR 2. make 3. If you are working at Java frontend, you will see build64/java/java2mpl. This is the executable frontend. [How to test] 1. cd YOUR_PROJECT_DIR/test 2. ./runtests.pl all You can find all Java test cases in YOUR_PROJECT_DIR/test/java2mpl. Right now only java test cases are used.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。