Giter Site home page Giter Site logo

Comments (8)

travisspencer avatar travisspencer commented on June 8, 2024

This seems to be a total blocker for anyone wanting to use Javasphinx with Java 8 code.

from javasphinx.

c2nes avatar c2nes commented on June 8, 2024

@Zero57 could you tell me what version of javasphinx and javalang you are using?

from javasphinx.

travisspencer avatar travisspencer commented on June 8, 2024

I got this error using javasphinx 0.9.13 and javalang 0.10.0

from javasphinx.

roipoussiere avatar roipoussiere commented on June 8, 2024

Same problem here, using javasphinx 0.9.13.

Here is some problematic parts of my source code:

from javasphinx.

roipoussiere avatar roipoussiere commented on June 8, 2024

Actually it's a problem with Javalang:

See here:

try:
    ast = javalang.parse.parse(source)
except javalang.parser.JavaSyntaxError, e:
    util.error('Syntax error in %s: %s', source_file, format_syntax_error(e))

I reported the issue on Javalang repo.

from javasphinx.

c2nes avatar c2nes commented on June 8, 2024

Thank you for diagnosing this @roipoussiere. I've released a version 0.10.1 of javalang which I hope resolves this issue. Please let me know if there are still issues.

from javasphinx.

c2nes avatar c2nes commented on June 8, 2024

I've also released version 0.9.14 of javasphinx which bumps the javalang dependency to 0.10.1.

from javasphinx.

roipoussiere avatar roipoussiere commented on June 8, 2024

Thank you!

from javasphinx.

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.