3 ms·
Can we design languages that target DartVM ? I haven’t seen much documentation around DartVM.
by crudbug 6y ago
Can we design languages that target DartVM ?
I haven’t seen much documentation around DartVM.
- illuminated 6y agoIn theory, you can write another language frontend for the Dart VM, but it isn't being utilized a lot as I can tell. Here's a year and a half old page describing the Dart VM's internals: https://mrale.ph/dartvm/ https://mrale.ph/dartvm/ Also, here are two examples of different frontend add-ons for the Dart VM, although outdated: https://github.com/thosakwe/bullseye https://github.com/thosakwe/bullseye and https://github.com/jvasileff/ceylon-dart https://github.com/jvasileff/ceylon-dart
- thosakwe 6y agoIf you check out the dev branch of bullseye, I'm currently working on a rewrite, but it's on pause for a few months while I work on an internship.
- illuminated 6y agoKudos for the work! Out of curiosity: what is the inspiration for this and what's the goal?
- thosakwe 6y agoThe inspiration is OCaml. I've used it a lot, and some of its best features, like sum types, are missing from Dart (and many mainstream languages). As for the goal, I just want to finish it for now. I don't intend to publish packages in Bullseye, rather just to use it in projects to consume existing Dart libraries.
- illuminated 6y agoHave heard praises about OCaml, but never tried myself. Good luck!