Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Loader #54

Closed
pfgithub opened this issue Aug 12, 2019 · 0 comments
Closed

File Loader #54

pfgithub opened this issue Aug 12, 2019 · 0 comments

Comments

@pfgithub
Copy link
Owner

For the @import action, generally this will happen

  • The main file will be parsed and cached
  • Using the caches, scripts will be parsed until an import action is called. If a cache exists for it, it will use the cache. (exits using throw probably, algebraic effects would be perfect for this but don't exist, a sync process otherwise needs to be frozen until an async finishes which is not possible in a browser, if using a warning it may take longer to do everything but then multiple files could be imported at once)
  • The fileLoader function will be called on the file to be imported
  • The loaded file will be parsed and cached
  • The process repeats until all files are imported and converting finishes sucessfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant