Giter VIP home page Giter VIP logo

Comments (8)

JerrySievert avatar JerrySievert commented on June 19, 2024

we might be able to pass back the portion of the line that the parser fails on, i can look into that.

we're using JISON under the hood with a BNF grammar to generate the actual parser.

from terraformer-wkt-parser.

sckott avatar sckott commented on June 19, 2024

thanks for considering this :)

from terraformer-wkt-parser.

JerrySievert avatar JerrySievert commented on June 19, 2024

looks like it should be working, but i'll try to find some time tomorrow to investigate why it isn't:

https://github.com/Esri/terraformer-wkt-parser/blob/master/src/module-source.js#L111

from terraformer-wkt-parser.

JerrySievert avatar JerrySievert commented on June 19, 2024

looks like the error wasn't being properly thrown and the second argument never got printed.

this is what it should look like:

Error: Unable to parse: Error: Parse error on line 1:
...G (30 10, 10 30, 40 a)
-----------------------^
Expecting 'DOUBLE_TOK', got 'INVALID'

updating to make that happen.

from terraformer-wkt-parser.

sckott avatar sckott commented on June 19, 2024

great! that looks quite useful

from terraformer-wkt-parser.

JerrySievert avatar JerrySievert commented on June 19, 2024

it is, and indeed it is as useful as it was meant to be :)

just finishing up getting it all built and packaged and should hopefully have a release out shortly. i'll close the ticket when that happens.

from terraformer-wkt-parser.

sckott avatar sckott commented on June 19, 2024

👍

from terraformer-wkt-parser.

JerrySievert avatar JerrySievert commented on June 19, 2024

done and live

from terraformer-wkt-parser.

Related Issues (19)

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.