0
我认为是为我的公司语言生成编辑器。如果这个编辑器是独立版会更好。我有限的时间(2.5周)和有限的知识(3年的大学)。这种语言看起来不像任何其他语言,并且为特定硬件而设计。我的编辑器必须包括尽可能多的特点如下尽可能自定义语言的多功能独立编辑器
Syntax highlighting
Indentation
Brace Matching
Code Folding
Error Parsing
Reformatting
Snippets
我有一些研究使用下面的解析器和词法分析器发电机下面的IDE。
1)的NetBeans & &的JavaCC
了解这个问题是
*hard to make standalone
*because syntax and semantic is too different that java like languages
it needs to change most of Java.1.5.jj file.
2)NetBeans和ANTLR
* hard to make standalone again
* more time consuming because it makes me deal with the thing that already
done . I have Language syntax and semantics i dont need to build it up
again just need to syntax defined language parser and lexer.
3)的Eclipse XTEXT
* it seems me even more time consuming and more labored than others
4)Geany文件类型
* I used Geany Filetypes it was good in the beginning. I was able to
do snippets, syntax colorings but i could not code blocking
because my language does not use "{" and "}" instead use some keywords
like **end if** and **end for**
* The second problem about this choice i must assign in filetype
configuration file: lexer_filetype and styling ,but as i mentioned
because distinctions with other language i must have its own
lexer_filetype and styling
5)Geany和火花
* Could not find good tutorial about their cooperation.
任何形式的帮助,意见或建议,将不胜感激。
你的问题是什么? – frlan
可以选择什么?对于为定制语言生成编辑器,您有什么建议? – MIRMIX
这个问题是广泛的,主要是基于意见。没有一个通用的解决方案。把你的时间和测试全部或只是尝试一个,并解决您可能遇到的问题。没有明确的是或否或“使用此”。 – frlan