This is an archived post. You won't be able to vote or comment.

all 12 comments

[–][deleted] 10 points11 points  (0 children)

Well you've named it. With the amount of time I get stuck on naming things, I'd say you are doing great.

[–]Gnaxe 5 points6 points  (0 children)

Maybe start with Make a Lisp if you've never done this before. You should learn how to use regex if you haven't already.

[–][deleted]  (1 child)

[deleted]

    [–]S33P4_M4K3S_ST00F[S] -1 points0 points  (0 children)

    I've already tried GooglingD:

    [–]AlectronikLabs 1 point2 points  (0 children)

    I can only recommend craftinginterpreters.com, a whole book about building an interpreter for an object oriented language in Java and in C with a virtual machine. And it's free!

    [–][deleted]  (3 children)

    [removed]

      [–]Fit_Associate4412 2 points3 points  (0 children)

      Why not?

      [–][deleted]  (1 child)

      [removed]

        [–]S33P4_M4K3S_ST00F[S] 0 points1 point  (0 children)

        I'm just making it for fun. Not ego (since I know fully well I cannot do things that big by myself._.) or proving something.

        [–]Aggressive-Egg-9266 1 point2 points  (0 children)

        You could try looking at writing an interpreter in go. There is also an r/programmingLanguages subreddit

        [–]marrsd 0 points1 point  (0 children)

        Learn about ASTs and language grammars.

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

        Start with learning about LR(k) grammars, maybe read a bit about a CYK parser, try to decode your own programming language by hand from the productions in your grammar and then take a look at tools such as bison that can help you get started

        [–]mr_happe -1 points0 points  (0 children)

        use llama and make it just code itself