Git Product home page Git Product logo

Comments (10)

krishnakarthik9 avatar krishnakarthik9 commented on May 14, 2024 1

@ziflex, @yiss submitted a PR #35

from ferret.

ziflex avatar ziflex commented on May 14, 2024 1

@krishnakarthik1309 thank you for your help, finally we can close the issue.

from ferret.

yiss avatar yiss commented on May 14, 2024

@ziflex is it only a problem with TravisCi ? have you tried CircleCi ?

from ferret.

ziflex avatar ziflex commented on May 14, 2024

@yiss yep. I haven't tried it.
If it works on CircleCi - I'm fine to use it :)

from ferret.

ziflex avatar ziflex commented on May 14, 2024

@krishnakarthik1309 hey, thanks for your help.
It works now, but it seems that Antlr4 does not generate anything. It just renders list of commands. Probably arguments are not being passed.

from ferret.

krishnakarthik9 avatar krishnakarthik9 commented on May 14, 2024

screenshot from 2018-10-04 21-28-54
@ziflex As you can see even when I run the antlr4 command from terminal in directory $GOPATH/src/github.com/MontFerret/ferret/pkg/parser it is just giving list of commands. So the problem is not with golang code. Most likely something with antlr4(I am not sure). Try to run this in your system and if it is working then tell me which version of antlr4 you are using.

from ferret.

ziflex avatar ziflex commented on May 14, 2024

It works fine on macOS. Otherwise I wouldn't be able to generate the parser :)
screenshot 2018-10-04 12 04 22

Try via either make generate or go generate ./pkg/...

from ferret.

krishnakarthik9 avatar krishnakarthik9 commented on May 14, 2024

Can you show the output of cd pkg/parser and then run antlr4 -Xexact-output-dir -o fql -package fql -visitor -Dlanguage=Go antlr/FqlLexer.g4 antlr/FqlParser.g4

from ferret.

krishnakarthik9 avatar krishnakarthik9 commented on May 14, 2024

Sry no need understood the problem.. will try to fix it.

from ferret.

krishnakarthik9 avatar krishnakarthik9 commented on May 14, 2024

This PR #37 will fix it by sending arguments to antlr4. You can view current travis-build output here

from ferret.

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.