Comments (4)
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.
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.
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.
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)
- Gocode Plugin failed to kill gocode process on Windows XP home Edition
- Can't use imported packages HOT 2
- Build Errors Don't Stop Execution HOT 1
- Unchecking "Start Gocode server automatically" has no effect HOT 1
- Let Go projects being created in arbitrary directories
- Handle Go line directives correctly
- Build produce no output in Console HOT 3
- No automatic indentation
- Error with documentation popup
- Not compiling on save HOT 2
- Go uses weird date format (probably US, or iranian) HOT 2
- Linked folders cause project name to be prepended to file paths, causing Resource Not Found stack traces. HOT 1
- External Packages Aren't Added to Pkg Directory
- ctrl-clic can show to wrong function
- Debugging: adding a breakpoint results in -break-insert error messages from gdb into the console HOT 1
- UTF-8 chinese character GoCode
- Content assist does not work for some source code file HOT 1
- Create markers when formatting fails HOT 2
- unexpected char: }
- .exe file doesn't exist HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goclipse.