Make YOUR OWN Programming Language - EP 2 - Parser

Published: 14 January 2019
on channel: CodePulse
145,042
2.4k

Hello and welcome to the second episode on how to create your VERY OWN programming language in Python.

In the first three videos we will be focusing on adding support numbers and operators. After that we will expand our language to support the rest of the language features, such as strings, variables, if statements, for statements and functions.

In this second episode we create the parser, which takes in the tokens created by the lexer and builds up what we call an abstract syntax tree, which is basically a tree of the structure of the code. We can then traverse that tree in the next video and interpret it.

If you have any questions or problems, don't hesitate to leave a comment below! And don't forget to leave a like if you enjoy the video :)

LINKS

Python3 - https://www.python.org/downloads/
This series is loosely based on https://ruslanspivak.com/lsbasi-part1/

ALL CODE IS ON GITHUB

https://github.com/davidcallanan/py-b...

Uncle Bob Clean Architecture book: https://read.amazon.co.uk/kp/embed?as... (affiliate link)


Watch video Make YOUR OWN Programming Language - EP 2 - Parser online without registration, duration hours minute second in high quality. This video was added by user CodePulse 14 January 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 145,042 once and liked it 2.4 thousand people.