fusionlanguage / fut

Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.
https://fusion-lang.org
GNU General Public License v3.0
1.77k stars 55 forks source link

Transpiled.cs not reproducible #85

Closed Chuvi-w closed 1 year ago

Chuvi-w commented 1 year ago
  1. rm Transpiled.cs to force it rebuild
  2. make
  3. multiple errors, like GenJs.ci(942): ERROR: Expected ':', got 'when' appears.

A new case syntax is coming?

UPD: Well, seems I've managed to rebuild it manually.

  1. Create Transpiled.cs without GenJs.ci, GenTs.ci and GenSwift.ci.
  2. Remove them from CiTo::Emit
  3. build cito.
  4. Create full Transpiled.cs with new cito
  5. Restore CiTo::Emit
  6. build full cito again.
pfusik commented 1 year ago
  1. Build cito using Transpiled.cs.
  2. Put it on your PATH.
  3. Use it for building cito.