matthewmueller / joy

A delightful Go to Javascript compiler (ON HOLD)
https://mat.tm/joy
GNU General Public License v3.0
1.32k stars 35 forks source link

Great Project! Helped me through CS #94

Open Merith-TK opened 4 years ago

Merith-TK commented 4 years ago

Before COVID-19 shut down schools, this tool helped me get through CS because my Teacher was cool with me doing things my way as long as the work got done, i wouldve used gopherjs over this tool before but it breaks alot of things

For example, a 78b Hello world file was coverted into near a mb of js,

this tool was a life saver, the only complaint i have had about it is the format of the output

package main
func main() {
    print("Hello World")
}
```js
;(function() {
  var pkg = {};
  pkg["../../../../Workspace/merith/other"] = (function() {
    function main () {
      print("Hello World")
    };
    return {
      main: main
    };
  })();
  return pkg["../../../../Workspace/merith/other"].main();
})()

its a bit complicated, but whehn you know what to look for, you can remove the excess and take what you need