tokiwa-software / fuzion

The Fuzion Language Implementation
https://fuzion-lang.dev
GNU General Public License v3.0
47 stars 11 forks source link

`ebnf.fz` not working: error creating process #3792

Closed simonvonhackewitz closed 2 months ago

simonvonhackewitz commented 2 months ago

This causes make doc to fail

> fz bin/ebnf.fz
grammar Fuzion;

unit        : block EOF

...

QUESTION    : '?'
            ;

error 1: FATAL FAULT `*** panic ***`: failed executing [antlr, -long-messages, -o, /tmp/tmp.s324XFBUyy, /fuzion_grammar, /tmp/tmp.s324XFBUyy, /fuzion_grammar/Fuzion.g4], error is error: *** error creating process ***
Call stack:
fuzion.sys.fatal_fault#2
fuzion.type.runtime.type.fault.type.install_default.λ.call#1
fuzion.runtime.fault.cause#1
panic.type.install_default.λ.call#1
panic.cause#1
panic#1
((list String).prefix !).λ.call
(((list String).prefix !).lm.instate_self#2 String).λ.call
(((list.type String).prefix !.type).lm.type.instate#3 String).λ.call
(((list.type String).prefix !.type).lm.type.instate#4 String).λ.call
(((list String).prefix !).lm.Effect_Call String).call
((list.type String).prefix !.type).lm.type.instate#4 String
((list.type String).prefix !.type).lm.type.instate#3 String
((list String).prefix !).lm.instate_self#2 String
(list String).prefix !
String.type.concat#2.anonymous.prefix !!
main

*** fatal errors encountered, stopping.
one error.
maxteufel commented 2 months ago

is antlr installed on your system?

simonvonhackewitz commented 2 months ago

No, that was the reason. Should have read the error message more carefully.