Make YOUR OWN Programming Language - EP 1 - Lexer
477.5 هزار بار بازدید -
6 سال پیش
-
Hello and welcome to the
Hello and welcome to the first episode on how to create your VERY OWN programming language in Python.
We will be using Python3 in this series, but feel free to follow along with any other language. The language that we will be creating will be our own implementation of BASIC.
In the first three videos we will be focusing on adding 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 first episode we create the lexer, which breaks up our input into a list of what we call tokens. We can then use those tokens in the next video to further analyze the code.
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/
BASIC language - https://en.wikipedia.org/wiki/BASIC
What is _repr_ - http://bit.do/eCm93
This series is loosely based on https://ruslanspivak.com/lsbasi-part1/
ALL CODE IS ON GITHUB
https://github.com/davidcallanan/py-b...
bitchute channel: https://bitchute.com/CodePulse
bitchute referral code: codepulse
Uncle Bob Clean Architecture book: https://read.amazon.co.uk/kp/embed?as... (affiliate link)
We will be using Python3 in this series, but feel free to follow along with any other language. The language that we will be creating will be our own implementation of BASIC.
In the first three videos we will be focusing on adding 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 first episode we create the lexer, which breaks up our input into a list of what we call tokens. We can then use those tokens in the next video to further analyze the code.
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/
BASIC language - https://en.wikipedia.org/wiki/BASIC
What is _repr_ - http://bit.do/eCm93
This series is loosely based on https://ruslanspivak.com/lsbasi-part1/
ALL CODE IS ON GITHUB
https://github.com/davidcallanan/py-b...
bitchute channel: https://bitchute.com/CodePulse
bitchute referral code: codepulse
Uncle Bob Clean Architecture book: https://read.amazon.co.uk/kp/embed?as... (affiliate link)
6 سال پیش
در تاریخ 1397/09/13 منتشر شده
است.
477,589
بـار بازدید شده