31

So yeah! I made a programming language
https://github.com/mirimmad/...

Comments
  • 6
    Found a mistake at zeta/Zata.java line 46.
    System.out.println("Copyright \u001B[36mMir Immad\033[0m 2017.\n");
    I guess it should be 2018)
  • 5
    @SADAVA guess what I wrote that line 3 hours ago.
    Can't believe this. xD
  • 1
  • 2
    You forgot a semicolon… syntax error. :P
  • 0
  • 2
    Also this… why the function is called "readInt"?
    As far as I've seen you consider all kind of numbers (integers, floats) as "number".
    Shouldn't it be "readNumber"?

    Btw really interesting project, congrats!
  • 2
    @JS96 thats a good observation. Will change it.
    Thanks.
  • 1
    Not to be a dick, but just looking through the code it seems to be an almost full copy of Lox from http://craftinginterpreters.com? Maybe at least mention somewhere the inspiration for the language.
  • 5
    @bootleg-dev Thats true its inspired by crafting interpreters but not a fulll copy. I have made many internal changes in the language. Since crafting interpreters was the first book I learned about PLs from(I am a highschooler), the style described in it would always influence me.

    Regarding the mention, I asked Bob Munificent about it, he explicitly said not to mention CI or his name and suggested further readings.
  • 1
    @bootleg-dev Learning about something from a book and doing it in the same way is not copying - Thats what the book was written for.

    Then most of PL desigers should be accused of stealing ideas from the Dragon book.
  • 1
    @bootleg-dev For the record, coffescript was initially "copied" from http://createyourproglang.com/.
  • 2
    Please make the bloody semicolons optional D:
  • 1
    @vlatkozelka these keywords are used to remove ambiguity in parsers otherwise a very broad look-ahead is needed which could be a overkill.
  • 0
    But it's made in Java.

    Any language on top of another language is flatout trash, unless it's a scripting language.
  • 0
    @HelloUglyWorld it's not made on "top" of Java. You're suggesting that first versions of Rust, Go and other successful languageswere trash because they weren't self hosted.
  • 0
    @vlatkozelka In the end they Will dissapear, just like the semicolons 😄
  • 1
    @mirimmad OK sorry, I might have overreacted a bit :)
  • 0
    @leolas95 Trade speed of the language, they can end now.
Add Comment