Ok, I made C compiler in PHP (c.php Ep.01)

preview_player
Показать описание

Chapters:
- Coming soon...

References:
Рекомендации по теме
Комментарии
Автор

Ahh PHP, a language perfect for the implementation of the UnHolyC language.

xravenxfe
Автор

watching this as a php dev has taught me that the internet is awful at teaching PHP

asthmaticpathic
Автор

Next challenge is to make a c compiler in MySQL

manacht
Автор

Python is my favorite kind of assembly

Phytolizer
Автор

18:13 I have been waiting for the phrase "Can your Emacs do that?"

RenderDragon
Автор

While using PHP you have to keep in mind that it is a language mainly developed for web pages, can run together with html and so. It evolved alot and has become a real backend language with great oops features. It is not a compiled language and meant to run as long as possible with interference.

To prevent type conversion etc you can use strict types. Then you need to tell what kind of a variable it is

keremardicli
Автор

Finally the content that we are all deserve.🔥
Didn't watch the whole video yet, but i'll it definetly.
And btw, welcome to the PHP club!

byterbrodTV
Автор

Finding myself working with php is exactly like this video. Everything has its own set of rules compared to oop and type structure. Love seeing your problem solving and frustration at the sametime!

bradley
Автор

Bravo! at 15:49, the best 20 seconds ever! I love your channel. Keep it up, that was epic.

johnbeeckler
Автор

This is so nice. Just watching a man discover something new for himself, just a pure stream of curiosity. Makes me wanna go out and learn a random language

lowlight
Автор

what a php rollercoaster ride from insanity of comparison to "as safe as rust" out of bounds checks :D

HKE
Автор

That was awesome (including your neighbors "moving furniture" lol), really cool to watch!

fer.guitar
Автор

Reminds me of the time I wrote a PHP code generator in JavaScript. I like your style.

Reichstaubenminister
Автор

56:22 that iota idea for enums is actually a 200IQ move 🧠

MaxCoplan
Автор

Awesome! Simple really like it! The whole processe of thinking and how to use even an almost unknown language and build something from scratch! This video teach me a lot of things, not of PHP but how to really code thinking! Thank you so much!

daviddwq
Автор

My God, he is the chosen one! The divine intellect, may saint terry protect you from glovies tsoding.

ilyasabi
Автор

20:18 watching some man editing text files is my favourite thing to do, btw

RenderDragon
Автор

It seems you can use type-hinting in PHP now.

It's been possible since 7.4. That would make code a bit more readable.

You can do something like:
class A {
public string $my_str;
public __construct (string $str) {
$this->my_str = $str;
}
}

GegoXaren
Автор

i just started to learn compiler design hope so this video will help me in some way

yuyi-hao
Автор

Of course PHP has associative arrays as first-class citizens, and classes only added later, so idiomatic PHP would have used associative arrays for most of the data structures.. what you've written is a very C-style PHP with structs as classes... I do like what you've done tho - very entertaining

thedreadedgman
visit shbcf.ru