We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MeTTaLog seems to enter infinite error message printing upon parsing a metta file with a missing closing parenthesis.
Run the following MeTTa code with MeTTaLog
(A B ; <- missing closing parenthesis !(+ 40 2)
A nice and clear message explaining that a closing parenthesis is missing.
A seemingly infinite trace of errors starting with
mettalog bug.metta % 23,906 inferences, 0.004 CPU in 0.004 seconds (100% CPU, 6629631 Lips) #(ugtrace #(error #(stream_error #( : 1 #( : 1 1 ) ) #(syntax_error unexpected_end_of_file "Unexpected end of file in list"))) $10000) %~ FIlE: /home/nilg/Work/SingularityNET/ai-dsl/experimental/ai-service-composition/english-to-chinese-song/bug.metta:3 (0)$[system] system:'$c_call_prolog'. no(clause). ...
Tested on metta-wam revision 352b297
The text was updated successfully, but these errors were encountered:
Hi @ngeiswei,
I think i fixed this.. though it prints a warning now
Sorry, something went wrong.
@ngeiswei, If you are satified with this (that is that you get the warning now) feel free to close this bug or suggest what would make things better
That's perfect, thank you.
ngeiswei
No branches or pull requests
What is your problem?
MeTTaLog seems to enter infinite error message printing upon parsing a metta file with a missing closing parenthesis.
How to reproduce your problem?
Run the following MeTTa code with MeTTaLog
What should it normally output?
A nice and clear message explaining that a closing parenthesis is missing.
What do you get instead?
A seemingly infinite trace of errors starting with
What else do you have to say?
Tested on metta-wam revision 352b297
The text was updated successfully, but these errors were encountered: