huo

Languages and libraries

interpreter

SHOW HN2016

109points
52comments
#337of 2,264 in 2016
Top 15%of 2016 by points

How HN took it

LovedMost comments that take a side are positive

4 positive, 3 neutral or asking, 0 mixed, 0 critical, out of 7 comments about the project. Thread score +0.33.

Design: 1 for, 0 againstExecution: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Readable, clean code structure

    From 1 comment
    • That's a nice set of readable code. I made a minor change just to add in floats instead of ints, which wasn't too hard to accomplish thanks to your structure. (Though my changes…
      stevekemp on HN
  • Good learning project

    From 1 comment
    • Hey this is great work! What resources would you recommend for someone else who wants to build their own toy language for fun and practice?
      Dangeranger on HN

Requests

  • Add a REPL

    From 1 comment
    • Nice work. What would take, to make it into a REPL? I haven't looked closely at the code yet, so maybe it's close to being there.
      analog31 on HN
  • Add bytecode execution instead of AST walking

    From 1 comment
    • Nice! If you're looking for another fun challenge, make your language compile into bytecode and execute that instead of an AST. :)
      sdegutis on HN

Questions

  • What resources help build a toy language?

    From 1 comment
    • Hey this is great work! What resources would you recommend for someone else who wants to build their own toy language for fun and practice?
      Dangeranger on HN

Alternatives named

  • Build Your Own Lisp

    From 1 comment
  • Peter Norvig's Lisp interpreters

    From 1 comment
    • I highly recommend Peter Norvig's example Lisp interpreters. He has Python and Java implementations and they are both very accessible, so you can digest them in a few hours'…
      bertr4nd on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/11948955)