chipsalliance / firrtl

Flexible Intermediate Representation for RTL
https://www.chisel-lang.org/firrtl/
Apache License 2.0
708 stars 175 forks source link

Support ScalaJS and ScalaNative #1084

Open jackkoenig opened 5 years ago

jackkoenig commented 5 years ago

Unlike Chisel, I don't think there's anything in FIRRTL that depends on the JVM, it would be nice if we could support alternative backends for smoother integration with web browsers and native code.

Type of issue: feature request

What is the use case for changing the behavior?

More support

Impact: API addition (no impact on existing code)

Development Phase: request

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. Stack Overflow, gitter, etc)

grebe commented 5 years ago

I started this work, check out my branch here. It's from 12/2018, so not super stale.

colin4124 commented 5 years ago

Now scala native don't support scala 2.12 yet, but in next few data, scala native would be 0.4.0-M1( support scala 2.12) https://github.com/scala-native/scala-native/milestones

XVilka commented 5 years ago

Note that Scala Native 0.4.0-M2 was released: https://github.com/scala-native/scala-native/releases/tag/v0.4.0-M2 On the other hand it does not support Scala 2.12 yet and you can follow a new milestone for this https://github.com/scala-native/scala-native/issues/233