Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wasabi is a compiler. The output of Wasabi was C# code. One day, I deleted Wasabi and checked in the C# code. I did not have to rewrite FogBugz in the slightest.


Ohhh, I thought the target was CLR. I didn't realize it was a transpiler.


Ohhh, I thought the target was CLR. I didn't realize it was a compiler.

FTFY


transpiler ⊂ compiler


(lightbulb!)

but, and maybe they were also recompiled, did you keep your tests as well?


Most of them are NUnit tests, which don't care what source language the assembly under test is written in.

A few of the oldest FogBugz tests are in `unitTest.asp` and were written in Wasabi. They got transpiled over to C# like everything else. Some are confirming Wasabi language features (e.g. `testLambda`, `testDictionary`, `testErrorHandling`), so I could remove them.

All of Wasabi's unit tests were deleted with Wasabi.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: