Open philderbeast opened 5 months ago
The section [Command-Line Compiler|Project Files] has a better description:
ffi FILENAME
reads the file FILENAME.urs
to determine the interface to a new FFI module. The name
of the module is calculated from FILENAME
in the same way as for normal source files.
In section [The Foreign Function Interface]:
ffi FILE.urs
names the file giving your library’s signature. You can include multiple such files in a single.urp
file, and each filemod.urs
defines anFFI
moduleMod
.Could we change the docs snippet above so that it starts with
ffi FILE
without the.urs
extension?The urweb/upo repo doesn't have any
ffi
directives with.urs
extension and neither do any of the tests in this repo.