techtonik / snippetry

snippetry for transpilery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snippets for transpilers.


Every group of snippets starts with primary file marked with transpilery:primary comment. This is the original code that is transpiled to other languages.


Most sources are directly executable, except for languages where you have to manually setup file associations. Assuming "!.!" means filename with extension:

  • .go - go run !.!
  • .hx - haxe --run !.!

haxe --run still needs a fix to ignore filename HaxeFoundation/haxe#6182

About

snippetry for transpilery

License:The Unlicense


Languages

Language:Go 40.9%Language:Python 32.8%Language:Shell 11.1%Language:Ruby 8.5%Language:JavaScript 6.8%