Based on NetBeans Platform: Next-Generation Computer Language Eros
Join the DZone community and get the full member experience.Join For Free
in 2004, when i was a university student, after following a compiler technical course, i had the urge to write a computer language. so, i did. but not following the book, he he.
: ) i followed my own way to achieve a simple compiler via the java language. it looks like this:
it looks childish, right? but i am fully passionate about it，and am using this as my graduation thesis. my teacher has also given it a positive evaluation. after that, i posted this little item to the java.net community.
the ejc project has now moved to the netbeans platform. on the functionality aspect, ejc has a close relationship with java and the ejc language compiler is also written by using the java language.
compared with the existing scripting languages php, ruby, perl, etc, the difference is that ejc technology allows our computer language not only to be interpretated by jvm dynamic implementation, while paying a lot of attention to the language native api binding. also, the source files can be compiled to an executable file . i know that china 's software technology is relatively backward, but we never gave up in coming to the current state of the project.
to make more friends, to know and understand , and to help ejc project development, we came here. we need help from around the world !
please pay attention to this project and help us!
(ejc 1.0 --- code name eros).
right now ejc on the netbeans platform looks like this:
about eros1.0 milestone 4
- syntax compile in time.
- support the new eros project.
- support eros project template.
- support smart formatting code.
- support "goto" sentece.
- support "setjump" fuction.
- c language standard library binding.
- started based on netbeans platform.
- "fuction" represents method statemention.
- "import" represents head file imported.
- eros implements syntax highlighting editor.
- fixed a number of serious errors in the m2.
- "interface" represnts struct statemention.
- support pointer variables, array variables.
- support multi-line and single line comments.
- eros implements efficiency vocabulary baseon javacc.
- for the simplification of language, no anonymous array.
- for the simplification of language, there is no concept of class.
Opinions expressed by DZone contributors are their own.