开发者

Writing a parser with Wisent

开发者 https://www.devze.com 2023-01-22 23:36 出处:网络
I\'ve described a grammar in a .wy file, but how can I build the parser? Also, sorry if this question is too simple, but I\'m having a bad time figuring out how to use CEDET. Are there 开发者_StackOv

I've described a grammar in a .wy file, but how can I build the parser?

Also, sorry if this question is too simple, but I'm having a bad time figuring out how to use CEDET. Are there 开发者_StackOverflow中文版any docs besides the gentle intro and the info files?

Thanks!


In the major mode for a grammar file, the keybinding C-c C-c will compile the grammar. Use C-h m to describe any major mode to learn more about how to do things. Also check the menu.

If you want to automate the build, you can use EDE to create a project of type Make, and add a grammar target to the project. It will create a Makefile that can build grammars via Make.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号