CodePulse

CodePulse

CodePulse

subscribers

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

In today's episode we add all the different comparison operators to our language: equals, not equals, less than, greater than, etc.

We also add in the logical operators: AND, OR and NOT

In the next few episodes we will be adding the IF, FOR and WHILE statements, and after that we'll be moving on to functions.

If you have any questions or problems, don't hesitate to leave a comment below! I will try reply as soon as possible! And don't forget to leave a like if you enjoyed the video to support my channel :)

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-basicinterp

Consider supporting me via PATREON

https://www.patreon.com/CodePulse

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

In this episode we add support for variables in our language. This requires updating the lexer, parser and interpreter, along with adding a new SymbolTable class.

We also do a small bit of refactoring at the end of the video, which improves our error messages and will also make our code ready for the next few episodes.

In the next episode we will be adding comparisons to the language, i.e. equals, not equals, less than or equals, greater than or equals, etc. We can then use those comparisons in the episodes which follow to implement IF statements, FOR statements, etc.

If you have any questions or problems, please leave a comment below! I will try my best to help out ! And don't forget to leave a like if you enjoyed 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-basicinterp

Consider supporting me on PATREON

https://www.patreon.com/CodePulse

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

In this episode we create the interpreter, which traverses the tree we built up in the last video and executes the appropriate code. By the end of this video our simple expression interpreter is complete, supporting ints, floats, simple operations and parentheses.

In the next episode we will be adding variables to our language, and then in the future episodes we will be adding more language features such as IF statements, functions, strings, lists and more.

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-basicinterp

Consider supporting me on PATREON

https://www.patreon.com/CodePulse

Welcome to the final episode of this series where we add the run statement, comments, and then talk about my future plans.

Please check out the poll for the next series at the start of episode 12!

Considering supporting me via Patreon: https://www.patreon.com/CodePulse

Check out my BitChute channel: https://www.bitchute.com/CodePulse/

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-basicinterp

Welcome back to the second last episode in this series where we create our own programming language from scratch.

In this video we add the very import return, continue and break statements to functions and loops!

Secret feature: RETURN outside of a function ends the program :)

In the next and final episode we will be adding in the RUN function to execute code from files. We'll also go back over everything we've created in this series, and then it' finished

Thanks the my Patreon supporters at the time of uploading this video:
- Daniel Munch

Thanks for watching and thanks for leaving a like on this very long 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-basicinterp

Consider supporting me via PATREON

https://www.patreon.com/CodePulse

In this video we take a look at an easy enough solution to help with future-proofing your database.

In this video we add multi-line statements to our language (for if, for, while and functions).

Please complete the poll on the video on what series I should make next!

In the next episode we will be adding return, break and continue statements to functions and for loops.

Don't forget to hit the like button if you enjoyed and leave a comment if you've got any problems.

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-basicinterp

Consider supporting me via PATREON

https://www.patreon.com/CodePulse

In this video we talk about my opinion on the right way to version software. We take a look at the major, minor and patch versioning system for implementations, but also a different versioning system for specifications.

We hope that this video helps you prepare your software for changes in the future, because doing the versioning right from the start makes a huge different.

Stay subscribed so you don't miss my upcoming videos!
"Future-proofing Your Database" will be up soon.

Don't forget to leave a like if you enjoyed, and leave a comment if you have any questions! Thanks for watching this video.

BitChute channel: http://bitchute.com/CodePulse
BitChute referral code: codepulse

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-basicinterp

In this episode we add quite a few built-in functions to our language, including print, input, clear, type checking, and list operations. You may add plenty more, such as string operations, math functions, random number generators and more!

Feel free to leave a comment if you have any problems, and don't forget to like if you enjoyed :) In the next episode we'll be adding multiline statements!

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-basicinterp

Consider supporting me via PATREON

https://www.patreon.com/CodePulse

SHOW MORE

Created 2 months, 4 weeks ago.

11 videos

CategoryScience & Technology