Make a Programming Language in 1 minute!

Published: 30 June 2023
on channel: bvdl․io
1,479
82

#shorts

Full Video:    • Making a Programming Language & Inter...  

Creating a programming language is a dream for many programmers. In this video I go over how you can create a simple programming language and in interpreter for that language so you can run programs written in your own programming language. This will help you get started creating and understanding how make your own (more complex) programming language.

Make sure to let me know in the comments if you want to see this language being expanded. For the ability to do things such as assign variable or call functions.

Disclaimer:
The language (Our Little Language (.oll)) is by far not a complete language, and the interpreter only expects perfectly written code. Don't use this for production purposes, and only use it for the educational purpose of learning about creating and interpreting programming languages.

The Instruction in Our Little Language (.oll) are:
PUSH
POP
ADD
SUB
PRINT
READ
JUMP.EQ.0
JUMP.GT.0

_____________
program1.oll:
_____________
READ
READ
SUB
JUMP.EQ.0 L1
PRINT "not equal"
HALT

L1:
PRINT "equal"
HALT
_____________

_____________
program2.oll:
_____________
READ
JUMP.EQ.0 L1

LOOP:
PUSH 2
SUB
JUMP.EQ.0 L1
JUMP.GT.0 LOOP
PRINT "odd"
HALT

L1:
PRINT "even"
HALT
_____________


Music -
Link:    • 🧈 Lofi (Royalty Free Music) - "BUTTER...  

Hashtags -
#programming
#coding
#interpreter
#programminglanguage
#python
#compiler


On this page of the site you can watch the video online Make a Programming Language in 1 minute! with a duration of hours minute second in good quality, which was uploaded by the user bvdl․io 30 June 2023, share the link with friends and acquaintances, this video has already been watched 1,479 times on youtube and it was liked by 82 viewers. Enjoy your viewing!