Git Product home page Git Product logo

idea-bison's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ctsk zenwerk

idea-bison's Issues

Compatibility with .yy

Hello
I am currently working on a cpp project using re-flex and bison on Clion.
Is it possible to parse also the *.yy files ?
Thank you

Too many element types registered

I tried out your Bison plugin. Thank you for creating it, so that I don't have to use the goyacc plugin for C-style grammars anymore.

When I installed the plugin, CLion complained:

java.lang.Throwable: Too many element types registered. Out of (short) range. Most of element types (11433) were registered for 'Language: Bison':

ALIAS, BRACED_CODE, CODE_PROPS_TYPE, EPILOGUE, GENERIC_SYMLIST_ITEM, GRAMMAR_DECLARATION, ID_OR_CHAR_LITERAL, NTERM_DECLS, PRECEDENCE_DECLARATOR, PREDICATE, PROLOGUE, PROLOGUE_DECLARATION, RHS, RULES, RULES_OR_GRAMMAR_DECLARATION, STRING_AS_ID, SYMBOL, SYMBOL_DECLARATION, TAG, TOKEN_DECL, TOKEN_DECL...

The token types from that list all look sensible to me, so I wonder why CLion thinks there are 11433 of them. Do you have any idea?

Old-style directives not recognized

I was hoping to work with these files, but unfortunately many old directives are no recognized by this plugin, and cause the rest of the file not to be parsed either. It would be nice to support old directives for the sake of those projects which need to be compatible with older Bison versions, such as the one that ships with macOS.

[feature] Add structure overview

Hi, Just in case you want to spend some more time on this plugin: There is a feature from the GoYacc plugin that I'm missing in the Bison plugin, and that is to have a structural overview over the grammar.

The implementation in the GoYacc plugin looks reasonably short, and there is documentation for writing a StructureViewFactory, so it looks doable.

This would allow to see the grammar rules by pressing Ctrl+F12, and also to quickly jump to a particular grammar rule.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.