avalor / eJason

eJason: a Framework for Distributed and Fault-tolerant Multi-Agent Systems
14 stars 1 forks source link

Error parsing file counter.erl on counter example #1

Open eze1981 opened 7 years ago

eze1981 commented 7 years ago

Hello,

I'm having some problems with the counter example, these are my steps:

  1. execute make
  2. copy counter.asl into /agents folder
  3. ./ejason -c someName
  4. ejason:build(counter).

During the build process I got this error message:

> ejason:build(counter).
Error parsing file counter.erl
Line: 6
Reason: syntax error before:  ':'

Thank you

avalor commented 7 years ago

Dear Eze,

I am afraid that the version uploaded is too old and outdated that I cannot solve your problem. It seems there is some bug in the parsing of symbol ":-" for Jason rules.

I will release a new version of eJason in the next couple of days which will bring in many fixes and new functionality. Please try again after the release and tell me if the problem persists.

Thank you for your interest and best regards, Álvaro