Make a Programming Language in 1 minute!

Publicado em: 30 Junho 2023
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Make a Programming Language in 1 minute! duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário bvdl․io 30 Junho 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,479 vezes e gostou 82 espectadores. Boa visualização!