polygott
polygott copied to clipboard
README documentation for compile command is inaccurate
The readme documents the compile.command
option as follows:
The full command to compile the
entrypoint
file, as a list, including the filename. This is run before therun
command.
But examining several of the language configs under languages shows that "including the filename" is clearly not the case:
-
https://github.com/replit/polygott/blob/e1e8094737b702681b4ab4bd680ae2497a93b4b8/languages/haskell.toml#L11-L15
-
https://github.com/replit/polygott/blob/e1e8094737b702681b4ab4bd680ae2497a93b4b8/languages/c.toml#L24-L30
None of these command lists actually include the entrypoint source file, and trying to run those commands in the terminal gives an error like clang-7: error: no input files
or ghc: no input files Usage: For basic information, try the
--help' option.`
I think the wording is just off. I think it is referring to how the filename is part of the entrypoint
list.