jscl-project / jscl

A Lisp-to-JavaScript compiler bootstrapped from Common Lisp
https://jscl-project.github.io
GNU General Public License v3.0
882 stars 108 forks source link

Use BrowserFS for filesystem access? #264

Open phoe opened 7 years ago

phoe commented 7 years ago

Giving you guys a heads-up:

https://github.com/jvilk/BrowserFS

This looks like a good way to implement filesystem access inside JSCL.

davazp commented 7 years ago

This is cool. Although the latest release is 793 kB is a quite overload if you don't need it. So I think we should ship this as an optional module.

phoe commented 7 years ago

Nonetheless, some kind of filesystem support is required for compliance with the ANSI CL standard.

davazp commented 7 years ago

Sure. We can maybe add a flag at compile-time, (jscl:compile "app" :include-fs t). I think ANSI compatibility is going to be a very tricky goal. There are some parts that are just too different in JS. Like sleep and random numbers.