- Видео 88
- Просмотров 133 560
Lens_r
США
Добавлен 22 авг 2020
mind blank life blank bullet live suicide
Eating Compiler Boogers | 069
I'm back. But not with a vengeance. Just back :) -- Watch live at www.twitch.tv/lens_r
Discord: discord.gg/FTQsgqQEM4
Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
SUBSCRIBE to @nashiora (Local) !!!
Ætérnal/Sirraide is a genius; strengthen his brain power here: www.patreon.com/sirraide
Broadcasted live on Twitch -- Watch live at www.twitch.tv/lens_r
Discord: discord.gg/FTQsgqQEM4
Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
SUBSCRIBE to @nashiora (Local) !!!
Ætérnal/Sirraide is a genius; strengthen his brain power here: www.patreon.com/sirraide
Broadcasted live on Twitch -- Watch live at www.twitch.tv/lens_r
Просмотров: 952
Видео
Beginning of IR Generation | Compiler from scratch, for fun :p | 068
Просмотров 1,9 тыс.Год назад
Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG SUBSCRIBE to @nashiora (Local) !!! Ætérnal/Sirraide is a genius; strengthen his brain power here: www.patreon.com/sirraide Broadcasted live on Twitch Watch live at www.twitch.tv/lens_r
C++ VALUE CATEGORIES | Compiler from scratch, for fun :p | 067
Просмотров 777Год назад
Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG SUBSCRIBE to @nashiora (Local) !!! Ætérnal/Sirraide is a genius; strengthen his brain power here: www.patreon.com/sirraide In this video, aeternal goes over some wonderful information regarding C value categories (lvalue, rvalue, prvalue, xvalue, glvalue). While he is doing this, I write some C code in ...
Two Days of C++, Ten Years of Knowledge Required | Compiler from scratch, for fun :p | 066
Просмотров 2,3 тыс.Год назад
Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG SUBSCRIBE to @nashiora (Local) !!! Going over the most recent changes to the compiler; the first two days of the rewrite. Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept
A COMPLETE REWRITE!! | Compiler from scratch, for fun :p | 065
Просмотров 3 тыс.Год назад
Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG SUBSCRIBE to @nashiora (Local) !!! The beginnings of the C rewrite/refactor, going over some complicated parts of C that will be used in the new implementation. It has also been renamed; the language itself is called Intercept, but the compiler is now `lcc`, the Lens_r Compiler Collection (or Lens_r Com...
Compiler from scratch, for fun :p | 064
Просмотров 1,6 тыс.Год назад
DEEP, COMPLEX, LOW-LEVEL, PHILISOPHICAL CODING DISCUSSION FOR HOOUUURS Watch live at www.twitch.tv/lens_r Special thanks to Local/Nashiora Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
Implementing -L Option, Merging Modules PR | Compiler from scratch, for fun :p | 063
Просмотров 263Год назад
Modules! We have them now. We can write multi-file Intercept programs, compile them with proper typechecking, and then link them together resulting in a beautiful executable. Fantastic! Watch live at www.twitch.tv/lens_r Special thanks to Local/Nashiora Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG 0...
Compiler from scratch, for fun :p | 062
Просмотров 733Год назад
What is 2 2? Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Support Sirraide/Ætérnal: www.patreon.com/sirraide Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
Chewing Gum and Serialising Types, but I'm All Out of Gum | Compiler from scratch, for fun :p | 061
Просмотров 609Год назад
Special thanks Broadcasted live on Twitch Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Support Sirraide/Ætérnal: www.patreon.com/sirraide Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG 0:00:00 VC Stream! You can join !! 0:02:43 Getting Started 0:08:45 The -Two- FIVE Minute Query 0:12:03 Query Executed (mildly s...
MODULES (cont.) | Compiler from scratch, for fun :p | 060
Просмотров 286Год назад
Serialising type AST is hard, but we manage to get something going! Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Support Sirraide/Ætérnal: www.patreon.com/sirraide Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
MODULES | Compiler from scratch, for fun :p | 059
Просмотров 293Год назад
Implementing (or at least getting started on implementing) modules and emitting module metadata from files. This was the first "public" stream, where anyone could join the VC and be a part of it. Thanks to this wonderful community for allowing this to be possible!! Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Support Sirraide...
LaTeX-inspired Macros GONE SUCCESSFUL | Compiler from scratch, for fun :p | 058
Просмотров 383Год назад
Macros in Intercept; who knew it would only take one video? In this stream, we implement LaTeX-like macros, which are implemented at the lexical level. We can even have macros that define macros :) Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
Instruction Selection, Object Files, etc | Compiler from scratch, for fun :p | 057
Просмотров 299Год назад
11k lines of sweet, sweet bug I mean _features_ for Intercept compiler. What could go wrong? The design of the compiler gets a fancy new upgrade in this beast of a PR. Thank YOU for being YOURSELF!! Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
Overview of Intercept Compiler Design | Compiler from scratch, for fun :p | 056
Просмотров 452Год назад
The fifty-sixth part in our wonderful journey together building a compiler in C, from scratch. Overview of the compiler design of Intercept. And yes, the PR is over 10000 lines added, so you know it's going to be a good one, haha. Thank you everybody so much for tuning in, and be sure to follow/subscribe and stay tuned for next time I dive into this glorious codebase (I know it's been a while b...
Low level and chill | Compiler from scratch, for fun :P | 055
Просмотров 467Год назад
Machine IR, assembly, machine code, object files, and more! It sure has been a hectic week here in Intercept compiler development, so be sure to tune in and keep track of all the changes!! Thanks for watching :) Watch live at www.twitch.tv/lens_r Source code: github.com/LensPlaysGames/Intercept Discord: discord.gg/FTQsgqQEM4 Donate: www.paypal.com/donate/?hosted_button_id=62KQ4GX6HFTNG
ASSEMBLING x86_64 instructions BY HAND | Compiler from scratch, for fun :P | 054
Просмотров 767Год назад
ASSEMBLING x86_64 instructions BY HAND | Compiler from scratch, for fun :P | 054
Implementing `return` | Compiler from scratch, for fun :P | 053
Просмотров 371Год назад
Implementing `return` | Compiler from scratch, for fun :P | 053
Implementing ARBITRARY Integer Types | Compiler from scratch, for fun :P | 052
Просмотров 343Год назад
Implementing ARBITRARY Integer Types | Compiler from scratch, for fun :P | 052
C BASICS & Attributes | Compiler from scratch, for fun :P | 051
Просмотров 317Год назад
C BASICS & Attributes | Compiler from scratch, for fun :P | 051
Layers 1 through 7 of the OSI model | LensorOS
Просмотров 548Год назад
Layers 1 through 7 of the OSI model | LensorOS
OS NETWORK STACK from scratch :( | LensorOS
Просмотров 940Год назад
OS NETWORK STACK from scratch :( | LensorOS
POSIX-compliant SHELL from SCRATCH | LensorOS
Просмотров 1,2 тыс.Год назад
POSIX-compliant SHELL from SCRATCH | LensorOS
SysV ABI Parameter Passing (gone berserk) | COMPILER from scratch, for fun :P | 050
Просмотров 318Год назад
SysV ABI Parameter Passing (gone berserk) | COMPILER from scratch, for fun :P | 050
from syscalls to c++ stdlib | Implementing echo for LensorOS
Просмотров 300Год назад
from syscalls to c stdlib | Implementing echo for LensorOS
Compiler from scratch, for fun :P | 049
Просмотров 564Год назад
Compiler from scratch, for fun :P | 049
C++ STANDARD from SCRATCH (osdev in C++)
Просмотров 2,1 тыс.Год назад
C STANDARD from SCRATCH (osdev in C )
PHYSICAL MEMORY management in C++ | LensorOS
Просмотров 465Год назад
PHYSICAL MEMORY management in C | LensorOS
FOR LOOPS FOR PHI'S SAKE | Compiler from scratch, for fun :p | 048
Просмотров 215Год назад
FOR LOOPS FOR PHI'S SAKE | Compiler from scratch, for fun :p | 048
LVALUES‽ | Compiler from scratch, for fun | 047
Просмотров 315Год назад
LVALUES‽ | Compiler from scratch, for fun | 047
Are you saying mygit or maggot?
are you ok man? no nothing since then
i liked the brainstorming and how you think out loud with us
Clark James Lewis John Jackson Donna
I've watched this video like 10 times
my compiler is called C2 because it is the second iteration of my Compiler xD
Don't know if you read these comments anymore but I just wanted to let you know that I have already watched 9 hours of your work on this compiler and I think it's great. Made me want to learn C properly
Still loving this and the way you present it
The most impressive thing on this video is how this guy can hold his will of overengineer or overthink something. If it was me doing this live, I would be wondering how to implement automatic semicolon insertion without even deciding if the language would use semicolons to begin with.
I am following your video, to make my first compiler(first project in c). Somewhere you said don't do copy pasta, but idk from where to begin with, so i thought i should watch your stream, i am learning a lot. after watching you make it, i will make sure after this i will make my own compiler.
I dreamt that you got into drugs and never lived to continue this series again
@@ignorethenameplis wrong way around, lol 😆
Where can I get the pdf?
Amazing content, but tell me: you complain about Microsoft so much, so why use Windows? Espicially since you seem to have a got an unix-like terminal thing going on, and you're using emacs.
'Member' functionality as you say, is possible in C: pointer decay with function pointers in the struct... ``` typedef struct A { char *title; void (*print)(struct A*) } A; static void print_title(A *in) { printf("%s", in->title); } A this_title = {.title="Say What?!", .print=print_title}; this_title.print(&this_title); ``` Not the prettiest, but damn useful me thinks. Have a look at "21st Century C" by Ben Klemens, page 258
I think I’m a bit late, but I really love your contents ❤❤❤❤
This might be quite useful! I'm currently also making a compiler in C and thus far the hardest part has been deciding on a good data structure to hold types.
I've been enjoying the videos in this compiler series and learning a lot. I am 34 and didn't start learning programming until I was 28. You are an inspiration, I've been trying to learn as much as possible, I would love to write an OS and my own language at some point. I'm currently working on a text editor. Keep up the great work! I will try to catch you live on Twitch sometime. Thanks!
For guys using linux the procedure of exit is as shown: /* TODO: Different exit procedres for linux and windows # Exit for linux movl $0, %ebx movl $1, %eax int $0x80 # Exit for Windows movq $0, %rax ret */ If you follow windows procedure, a segfault will appear (don't tell anyone but it took 2 hours to find this)
The fact that it took you so long to properly get the file size was painful because it took me just as long and you remonded me of that horrible time 😂😂
Can you please indicate what program you install onto Windows to make it respond to linux commands (i.e.: ls, mkdir), also it lists files into a headed table. That would be a lot helpful. Advanced thanks.
I already am aware about git bash for windows, but that does not list files into a table. So you must be using a different thing.
WSL
what keyboard are u using
Now write a compiler in Moo
To this day, he's still eating compiler boogers without any new videos
Hey is this playlist complete like is anything missing ???
Did u find it
now make a compiler IN scratch 😈
Are you using an unregistered version of Windows? Shame on you 🙂. Use Linux or get some crack (not the drug!)🤣. If you are already using EMACS (it seems EMACS to me) why not using Linux?
How are you so intelligent sir . . .?
Professional Yapper. This entire thing could have been less than an hour if you didn't randomly start yapping about things not related to compilers. You should change the title so it's not misleading
It's a VOD, the point of the stream was to entertain the people watching it---not entitled assholes like you who feel so deserving of education for free that you leave embarrassing comments like this. You'll notice I don't stream anymore and a lot of it is because of people like you who are so unbelievably short-sighted and selfish. SMD, window-licker
@@Lensr You need to come back. You're an incredibly talented teacher and have a great personality. Just don't ever read the comments. You know you're on the right track by checking out the like to dislike ratio.
thank you so much great stuff but GOSH your'e code is dirtyyyyy
You can't spell "your"; I'm not worried about what idiots think.
I didn't really mean to offend you, I was just criticising have some capacity!@@Lensr
Can you link the pdf please?
Can you use your brain for three seconds to find it?
Shouldn't be coding functions to handle file I/O and shit like that on the fly- solve that problem and store it in a header file. Solve a problem, put it in a header, solve a problem, put it in a header, start compiler project, include myPreCompiledHeader.h. It will save you a lot of fiddling. Otherwise you solve the same problems over and over again. You can solve basically every minor problem in a day, put it in some header, and move on.
Could you make 1hour+ video on how to construct compiler? Could you suggest books or course to learn compiler construction? I am trying to make my own compiler, but can't find proper resources. Your advice is much appreciated, thankyou.
If you have a touch sreen and tap on the progress bar, not on the button. * | * ------
"hey look recursion" a great opening line!
tanks
awesome videos man
great content ma man, it shows how much ur enjoying this.
fprintf() would be handy in this video :)
you remind me of tsoding !
hi. i am late too party!! But will yu ever shift the code to LLVM . i.e using llvm to build this compiler (generating clang AST and then applying llvm middleend opt/maybe write your own)?
Do you have a discord account?
Awesome! Im following along in Assembly.
how's it going?
what if c,python,go,lua in same compiler :D
waited months for this welcome back lens
Pog Lens is back!
Hey man, I'm right now at 19:27 I'm following u in my windows machine, but I'm getting the following cmake error. Could you please help me out: W:\fromScratch\compiler\yt_01 λ cmake -G Ninja -B bld -DCMAKE_BUILD_TYPE=Release -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: W:/fromScratch/compiler/yt_01/bld W:\fromScratch\compiler\yt_01 λ cmake --build bld [1/2] Building C object CMakeFiles/func.dir/src/main.c.obj FAILED: CMakeFiles/func.dir/src/main.c.obj C:/ProgramData/chocolatey/bin/ccache.exe C:\PROGRA~1\LLVM\bin\clang.exe -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -MD -MT CMakeFiles/func.dir/src/main.c.obj -MF CMakeFiles\func.dir\src\main.c.obj.d -o CMakeFiles/func.dir/src/main.c.obj -c W:/fromScratch/compiler/yt_01/src/main.c ninja: build stopped: subcommand failed.
just dont use cmake.
This is very cool. I always wanted to know how it works! Thank you
Amazing. You are such a great developer 😅