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

Make self-hosted CLJS compatible #144

Open
2 of 7 tasks
lilactown opened this issue Aug 28, 2023 · 2 comments
Open
2 of 7 tasks

Make self-hosted CLJS compatible #144

lilactown opened this issue Aug 28, 2023 · 2 comments

Comments

@lilactown
Copy link
Owner

lilactown commented Aug 28, 2023

Things I think would need to happen:

  • Convert helix.impl.analyzer to CLJS and make sure it works with self-hosted compiler
  • helix.dom
    • remove :clj the reader conditionals; this could increase code size substantially since the CLJS code will include all the macros
  • helix.core
    • macros moved into CLJC file; will the tagged literal values work?
  • helix.hooks
    • Remove :clj reader conditionals
@rome-user
Copy link
Contributor

Is there a reference for the self-hosted CLJS compiler? I haven't heard of this, but I will be willing to investigate how tagged literals work. Given "self-hosted", I would assume tagged literals use deftype under the hood, but we have to verify this.

@lilactown
Copy link
Owner Author

@roman01la created a test bed for self hosted clojurescript that we could use to validate changes https://github.com/roman01la/clojurescript-studio

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

2 participants