FASL files are binary files in which compiled Scheme code and data is stored; we can easily create a FASL file as follows:
vicare> (define filename "/tmp/marco/p.fasl") vicare> (define p (open-file-output-port filename)) vicare> (fasl-write '(1 ciao "hello") p) vicare> (close-port p) vicare> (define p (open-file-input-port filename)) vicare> (fasl-read p) (1 ciao "hello") vicare> (close-port p) vicare>
• fasl format: | Binary format of a FASL file. | |
• fasl api: | FASL files API. | |
• fasl foreign: | Associating foreign libraries to FASL files. |