News for hackers. Stuff that matters.
Re:Show HN: Learning Project: building an imperative language by DylanSp on Monday October 05, 2020 @03:59PM (#24691399)
Always cool to see people experimenting with languages! I'm doing a similar thing with wheel-lang [0], which started as pretty purely imperative, but is starting to grow some object-oriented features.

Nystrom's Crafting Interpreters is a great resource; I've also liked Compiling to Assembly From Scratch [1] and Write You a Haskell [2].

[0] https://github.com/DylanSp/wheel-lang/

[1] https://keleshev.com/compiling-to-assembly-from-scratch/

[2] http://dev.stephendiehl.com/fun/

Re:Show HN: Learning Project: building an imperative language by inetsee on Monday October 05, 2020 @04:33PM (#24691704)
There are other variations for functional programming languages. Lisp [1]. Scheme [2]. Lisp Interpreter written in Python.

[1] http://buildyourownlisp.com/

[2] https://upload.wikimedia.org/wikipedia/commons/a/aa/Write_Yo...

[3] https://norvig.com/lispy.html

Re:Show HN: Learning Project: building an imperative language by bergsans on Tuesday October 06, 2020 @02:14AM (#24695155)
I love Norvigs text. I built a minimalistic lisp (https://github.com/bergsans/one-page-lisp) to learn more after reading the text. Thanks!
Re:Show HN: Learning Project: building an imperative language by bergsans on Tuesday October 06, 2020 @02:17AM (#24695167)
Cool! And I hope as well learn a lot (from building wheel-lang)! Thanks for the links!