# newlang **Repository Path**: ShixiangWang/newlang ## Basic Information - **Project Name**: newlang - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-24 - **Last Updated**: 2021-06-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # newlang: "Writing An Interpreter in Go" practice source: https://interpreterbook.com/ PARTs: - Token: words to represent code inside. - Lexer:creates tokens from the sequence of input characters. - REPL (Read Eval Print Loop): reads input, sends it to the interpreter for evaluation, prints the result/output of the interpreter and starts again. - Parser: takes input data (tokens) and builds a data structure - often some kind of parse tree, abstract syntax tree (AST for short).