HashLDash / Photon

Lightning fast and portable programming language!
GNU General Public License v2.0
68 stars 10 forks source link

The `for lang` does not work on targets: D, Dart and Haxe #106

Open matheusjohannaraujo opened 3 years ago

matheusjohannaraujo commented 3 years ago

for C:
    print("Target C")

for D:
    print("Target D")

for JS:
    print("Target JavaScript")

for DART:
    print("Target Dart")

for HAXE:
    print("Target Haxe")

for PY:
    print("Target Python")
matheusjohannaraujo commented 3 years ago

Ideally, for lang should accept both the abbreviation and the full language name regardless of Upper or Lowercase. E.g.: JS JavaScript, PY Python, D DMD, HX Haxe...