The following happens both with congocc.jar and the bootstrap bin/congocc.jar:
$ cd /tmp/ccctest/
/tmp/ccctest $ ls
FEL.ccc FTL.ccc
/tmp/ccctest $ java -version
openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (build 17.0.8.1+1, mixed mode, sharing)
/tmp/ccctest $ java -jar ~/projects/congocc/congocc.jar FTL.ccc
CongoCC Parser Generator (congocc.jar built by vinay on 2023-10-13)
Go to https://discuss.congocc.org for more information.
(type "java -jar congocc.jar" with no arguments for help)
Exception in thread "main" java.io.FileNotFoundException: FEL.ccc:55:1
at org.congocc.core.Grammar.include(Grammar.java:118)
at org.congocc.parser.CongoCCParser.GrammarInclusion(CongoCCParser.java:11613)
at org.congocc.parser.CongoCCParser.Root(CongoCCParser.java:1488)
at org.congocc.core.Grammar.parse(Grammar.java:106)
at org.congocc.core.Grammar.include(Grammar.java:132)
at org.congocc.parser.CongoCCParser.GrammarInclusion(CongoCCParser.java:11613)
at org.congocc.parser.CongoCCParser.Root(CongoCCParser.java:1488)
at org.congocc.core.Grammar.parse(Grammar.java:106)
at org.congocc.app.Main.mainProgram(Main.java:300)
at org.congocc.app.Main.main(Main.java:285)
/tmp/ccctest $ grep FEL FTL.ccc
INCLUDE "FEL.ccc"
The following happens both with
congocc.jar
and the bootstrapbin/congocc.jar
: