Can't recompile cosmos
mbertheau opened this issue · 3 comments
mbertheau commented
When compiling the .cosmos
files in the repository, I get .pl
files that are different from what's in the repository.
Also, compiling string.cosmos
and list.cosmos
doesn't work at all:
$ cosmos --module string
CosmosError: (line 50, col 9) cannot find relation concat
$ cosmos --module list
CosmosError: (line 42, col 9) cannot find relation concat
mbertheau commented
With #4 applied cosmos does compile, but it doesn't run. To reproduce, run the make script (make.sh/make.bat) and try ./cosmos -i
. I get:
~/src/cosmos/src $ swipl --version
SWI-Prolog version 7.1.17 for amd64
~/src/cosmos/src $ ./cosmos -i
ERROR: Prolog initialisation failed:
ERROR: Out of global stack
mcsoto commented
All the stdlibs need a --no-std-libs flag in order to work and cosmos.cosmos needs a --main flag.