Giter Site home page Giter Site logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
This is probably due to ImportParser in the package 
com.googlecode.goclipse.go.lang.parser having disregard for quotes and 
apostrophe.

Original comment by [email protected] on 22 Mar 2013 at 2:50

from goclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
Agreed, all of the state machine parsers have needed to be reworked or 
rewritten for awhile.  

Original comment by [email protected] on 22 Mar 2013 at 3:33

from goclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
I have been looking through the lexer/parser code, and I think they are quite 
brittle. I am thinking of extending the IContentAssistProcessorExt interface to 
include the appropriate methods so that all the parser tree information can be 
retrieved from the gocode server instead of using the internal lexer/parser 
code. Since Go itself already has libraries for parsing Go code, I think we 
might just make use of it instead of reinventing the wheels. What do you think?

Original comment by [email protected] on 23 Mar 2013 at 2:10

from goclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
I agree the parsers are brittle and incomplete; I say go for it.  When
these Java parsers were written, the go parsers weren't as far along as
they are now.  However, keep this in mind when you are testing: the Java
parsers are really just pattern matchers and they do not break the same way
on incomplete syntax trees.  So, we still can look things up when the code
is in a bad state.  I feel this is important for any IDE.  If ever given
the time I was going to rewrite using ragel.

Original comment by [email protected] on 23 Mar 2013 at 8:43

from goclipse.

Related Issues (20)

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.