▲ 34 ▼ Any good books on coding? (lemmy.world) submitted 1 year ago by Fredselfish@lemmy.world to c/books@lemmy.world 25 comments fedilink hide all child comments Not just coding, but writing whole new type of code? History on coding be nice as well. I already own Hackers:Heroes of the Computer Revolution. But like other books on it as well.
[–] ElectricWaterfall@lemmy.zip 7 points 1 year ago (2 children) My guess would be writing a new programming language. permalink fedilink source parent hideshow 2 child comments replies: [–] Fredselfish@lemmy.world [S] 3 points 1 year ago (1 child) Yes how do you do that? permalink fedilink source parent hideshow 1 child comment replies: [–] nandeEbisu@lemmy.world 2 points 1 year ago Researching and playing around. Where are you starting? This topic is extremely deep, but I think to start you should understand how most parsers work, poke around wikipedia to understand lexical analysis, context-free grammars and check the links. Play around with python libraries like Lark https://lark-parser.readthedocs.io/en/stable/how_to_use.html#getting-started They have some examples of writing custom parsers https://github.com/lark-parser/lark/tree/master/examples Or pick your starting point for wikipedia rabbit holes. I'm not a hugely opinionated language person, I have the features I'm used to using and semantics I prefer but don't really get opinionated about the actual syntax of most languages. There's LALR parsers https://en.wikipedia.org/wiki/LALR_parser Parse trees https://en.wikipedia.org/wiki/Parse_tree Reverse Polish Notation and Shunting-Yard for the old school stuff https://en.wikipedia.org/wiki/Reverse_Polish_notation I guess my generation (mid-30s) people who grew up interesting in computers often went through a whole language phase. I picked it up professionally and was more interested in it as a tool, rather than a purely academic pursuit, but understanding fundamentals helps you a lot when it comes to executing on whatever project interests you. permalink fedilink source parent
[–] Fredselfish@lemmy.world [S] 3 points 1 year ago (1 child) Yes how do you do that? permalink fedilink source parent hideshow 1 child comment replies: [–] nandeEbisu@lemmy.world 2 points 1 year ago Researching and playing around. Where are you starting? This topic is extremely deep, but I think to start you should understand how most parsers work, poke around wikipedia to understand lexical analysis, context-free grammars and check the links. Play around with python libraries like Lark https://lark-parser.readthedocs.io/en/stable/how_to_use.html#getting-started They have some examples of writing custom parsers https://github.com/lark-parser/lark/tree/master/examples Or pick your starting point for wikipedia rabbit holes. I'm not a hugely opinionated language person, I have the features I'm used to using and semantics I prefer but don't really get opinionated about the actual syntax of most languages. There's LALR parsers https://en.wikipedia.org/wiki/LALR_parser Parse trees https://en.wikipedia.org/wiki/Parse_tree Reverse Polish Notation and Shunting-Yard for the old school stuff https://en.wikipedia.org/wiki/Reverse_Polish_notation I guess my generation (mid-30s) people who grew up interesting in computers often went through a whole language phase. I picked it up professionally and was more interested in it as a tool, rather than a purely academic pursuit, but understanding fundamentals helps you a lot when it comes to executing on whatever project interests you. permalink fedilink source parent
[–] nandeEbisu@lemmy.world 2 points 1 year ago Researching and playing around. Where are you starting? This topic is extremely deep, but I think to start you should understand how most parsers work, poke around wikipedia to understand lexical analysis, context-free grammars and check the links. Play around with python libraries like Lark https://lark-parser.readthedocs.io/en/stable/how_to_use.html#getting-started They have some examples of writing custom parsers https://github.com/lark-parser/lark/tree/master/examples Or pick your starting point for wikipedia rabbit holes. I'm not a hugely opinionated language person, I have the features I'm used to using and semantics I prefer but don't really get opinionated about the actual syntax of most languages. There's LALR parsers https://en.wikipedia.org/wiki/LALR_parser Parse trees https://en.wikipedia.org/wiki/Parse_tree Reverse Polish Notation and Shunting-Yard for the old school stuff https://en.wikipedia.org/wiki/Reverse_Polish_notation I guess my generation (mid-30s) people who grew up interesting in computers often went through a whole language phase. I picked it up professionally and was more interested in it as a tool, rather than a purely academic pursuit, but understanding fundamentals helps you a lot when it comes to executing on whatever project interests you. permalink fedilink source parent