@sebmck in Rome, have you abstracted away the 'host environment' in any way to make the toolchain available in contexts like the browser? Certainly would be amazing to have a tight, UX friendly ecosystem like that in the browser.
-
-
Replying to @filearts
Yeah, enough is abstracted that it could work outside of Node. I’ve minimised my usage of Node APIs. There’s abstractions around the parts they matter. In fact, it would be easy to make Rome has WebWorkers for workers instead of spawning processes. The RPC is very agnostic.
2 replies 0 retweets 4 likes -
Could also prettily run in Deno then?
1 reply 0 retweets 2 likes -
Potentially*
1 reply 0 retweets 0 likes -
-
In fact, I was (sort of still am), considering bundling the Rome CLI with my own version of Node/whatever. Would make it easy to use Rome outside of the Node-ecosystem. Would also allow easy distribution. Similar mode to Yarn, available everywhere: homebrew, apr-get, rubygems etc
3 replies 0 retweets 4 likes -
Interesting! If you don't mind me asking here, will Rome also be pluggable with custom AST transforms? Or is the plan to lock it down to support only stable syntax?
1 reply 0 retweets 0 likes -
Replying to @kentcdodds @filearts
Not sure how to handle plugins. It’s definitely possible and I’m designing everything to allow it. Hard part is figuring out how to expose it without widening the API surface area. Likely wouldn’t be available for any initial open source release (if there is one).
1 reply 0 retweets 2 likes -
We could work together to build it though!
1 reply 0 retweets 2 likes -
I'm interested! Understandable that your prioritizing other things first. Let me know when you're ready to collaborate
2 replies 0 retweets 2 likes
I’ve learnt my lesson with Babel... it’s really hard to have a powerful plugin API without slowing down internal breaking changes (which are always necessary for progress). One mitigation is to make regular major releases. Small set of external plugins, who can upgrade easily.
-
-
How much related to AST would a full-stack javascript engineer find useful to know && undestand? Just a layer of compiler theory to understand to be able to think about what compilers/build tools do? --Noob
2 replies 0 retweets 0 likes -
No compiler theory necessary. If you encounter something in Rome, hopefully it’s documented in a way that’s understandable. I’m self-taught and learnt everything mostly through first principles so use pretty basic terms and structure.
1 reply 0 retweets 2 likes - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 