Making My Own Programming Language and Coding a Game in It

preview_player
Показать описание
I developed my own programming language, called Z-Sharp (Z#), using C++. Then I went through the process of coding an entire game in it.

Source and Binaries

Support:
● Monero: 4AAjyAHKnYwCsgJp16v1YeeDPA1Z51QKUfCMWsiCDxkNBFCtbUfDHD7K5sZDrFH2pnGsDAH989XwXdudcoC4iqtVC9QLk8r

--------------------------------------------------

Related Links:

--------------------------------------------------

Music:
Ocean Loader 3
EarthBound (various songs)

--------------------------------------------------

Chapters:
0:00 Intro
1:36 Compiled or Interpreted?
2:42 Syntax?
4:08 What to name it?
6:14 The game I chose
6:48 Draw rectangles
7:24 Movement
7:40 Making a ball
8:06 Displaying scores
8:20 Troubleshooting performance
8:54 Making AI
9:05 Fun with sprites
9:18 Source and Binaries

--------------------------------------------------

THIS VIDEO IS NOT SPONSORED

#cpp
#programming
#coding
Рекомендации по теме
Комментарии
Автор

I made my own planet, then made humans evolve, I then made them make PCs and then made them make their own programming language, and then I made my own game.

realrazoblast
Автор

3:10 "Something I don't really like is semi-colons." This is usually what people who only know how to code in python say... Semi-colons are so useful to easily tell where a line ends.

louisrobitaille
Автор

My automatons teacher made us make a language and a compiler, the language that I made is called "Monkey Script", and everything is monkey.
Instead of using "+, *, -, +" I used "monkadd" "monktimes" "monkminus" and "monkplus"
Data types where:
int -> wholeMonke
double -> decMonkey
string -> strgMonke
You get the idea, it was fun, but eventually we had to make the compiler where the not so fun part begins, where you use assembly language, and ended up cheesing the project mostly because of time, just making it so it translates my language to Java and execute it in the spot, teacher didn't notice lmao she never checks the source code for some reason

andresdarklag
Автор

I'm here before this channel explodes in popularity! Absolutely phenomenal AstroSam!!! I will also try to replicate this some day

siddhantsingh
Автор

I’ve been working on a programming language called Rouge for a while. It’s primarily inspired by Rust (which I’m coding the compiler and runtime in), but also takes the compile-once-run-anywhere approach and a bit of the project structure from Java, and the syntax is primarily inspired by Ruby/Lua (end keyword so indentation can be ignored).

I’ve still got a lot to figure out, such as:
- how to write a parser
- how to JIT compile from bytecode (until I figure this out the runtime will have to interpret the bytecode)
- what should the bytecode instructions be
- how to access stuff that is external to the runtime
- how to make the runtime embeddable in other programs with custom hooks (for use cases like game modding or app plugins)

AshtonSnapp
Автор

I think many people would be interested in a tutorial(series) on how you made this and how to make a language yourself.

bananacraft
Автор

i have learnt all my computer-related knowledge by myself in almost 6 yrs and creating a language has been a dream almost from the very beginning. after 6-7 attempts i think i finally got it right. it is the best achievement in these yrs so far, i think. even tho its likely that no one will use or even know ur lang, u learn so much stuff from just trying. and in that regard writing a compiled lang (that compiles into asm) can help understand the fundamentals of computers

dynpallomah
Автор

You should go through the process of how you created your programming language. This is so frickin' cool, man. You are an inspiration.

FallofDarkness-Resurrected
Автор

Congratulations, man! Your work is encouraging and inspiring to others.

dtikvxcdgjbv
Автор

1:07 bold of you to assume i have a smart toaster

sudospective
Автор

3:06 oh no you know its bad when someone removes THE SEMICOLONS

IlliaZhdanov
Автор

I finally finished version 1 of my programming language yesterday. What a coincidence seeing your video!

upwrdmusic
Автор

I'm always so intruiged about people making their own language. Very impressive. Really, really cool!

DevNoob
Автор

This is a really good video that clearly has effort put into it. More people need to find this channel!

Red_Biker_Dude
Автор

That is amazing, congratulations on such a good achievement! You're an awesome programmer, ncie job man.

yayer_
Автор

Absolutely legendary, I learned a ton and it was super interesting

UnderfundedScientist
Автор

Can’t believe I’ve not found you before. This video is exactly the sort of thing I love

sixty
Автор

I've written a couple of assembly-like langs before that compile to BrainFcuk, but you inspired me to create a better one.
btw it looks like it was partially inspired by love2d

vxl
Автор

honestly seems like a really really great beginner language, that doesnt bother with all the complicated parts of graphics libraries or stuff like that. if this got more people working on it, it could end up as something really really good.

idoblenderstuffs
Автор

Sam you've come so far. This is quite awesome

...now make that compiler. 9:13 BRO I AM THE BALL LETS GOO

Dorbellprod
join shbcf.ru