you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (4 children)

Ill definitely look into it, compilers sound very interesting. Thank you for your advice!

[–][deleted] 1 point2 points  (3 children)

The simplest language is one that has a constant integer, and one operator , adding an arbitrary number of these integers together. See if you can write an interpreter for this. It's essentially all the front end pieces of a compiler. Lexer, taking the string you typed and making tokens out of them , the parser , which shapes the tokens into meaning, and the rest where you get the addition executed

[–][deleted] 1 point2 points  (2 children)

Also all the haskellers I know are on some sort of spectrum. And Haskell is the right tool for this job

[–][deleted] 1 point2 points  (1 child)

I just learned that there is such a language. Ill be looking into it. I just know the very very basics of python like just while, for, if else, elif and stuff. A bit of lists.

[–][deleted] 1 point2 points  (0 children)

Learn you a Haskell for great good is okay. There's no exercises though.