Lens_r
Lens_r
  • Видео 88
  • Просмотров 133 560
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
Просмотров: 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
Implementing float BY HAND (gone 18+)
Просмотров 963Год назад
Implementing float BY HAND (gone 18 )
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

Комментарии

  • @AlexanderEndless
    @AlexanderEndless 6 дней назад

    Are you saying mygit or maggot?

  • @lucasa8710
    @lucasa8710 11 дней назад

    are you ok man? no nothing since then

  • @z1adahmed
    @z1adahmed 13 дней назад

    i liked the brainstorming and how you think out loud with us

  • @РодионЧаускин
    @РодионЧаускин 13 дней назад

    Clark James Lewis John Jackson Donna

  • @Arnau478
    @Arnau478 21 день назад

    I've watched this video like 10 times

  • @duality4y
    @duality4y 22 дня назад

    my compiler is called C2 because it is the second iteration of my Compiler xD

  • @driden1987
    @driden1987 Месяц назад

    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

  • @iainwilliamwiseman4602
    @iainwilliamwiseman4602 Месяц назад

    Still loving this and the way you present it

  • @rodrigoelias1987
    @rodrigoelias1987 2 месяца назад

    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.

  • @mrinalyadav4261
    @mrinalyadav4261 2 месяца назад

    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.

  • @ignorethenameplis
    @ignorethenameplis 2 месяца назад

    I dreamt that you got into drugs and never lived to continue this series again

    • @Lensr
      @Lensr 2 месяца назад

      @@ignorethenameplis wrong way around, lol 😆

  • @Saket-op2xp
    @Saket-op2xp 2 месяца назад

    Where can I get the pdf?

  • @5cover
    @5cover 2 месяца назад

    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.

  • @mavericksygmail
    @mavericksygmail 2 месяца назад

    '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

  • @p00laris
    @p00laris 3 месяца назад

    I think I’m a bit late, but I really love your contents ❤❤❤❤

  • @chri-k
    @chri-k 3 месяца назад

    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.

  • @GreeneThumbs
    @GreeneThumbs 3 месяца назад

    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!

  • @mihirpatel6262
    @mihirpatel6262 4 месяца назад

    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)

  • @darcgames6375
    @darcgames6375 4 месяца назад

    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 😂😂

  • @AhmadAlMutawa_abunoor
    @AhmadAlMutawa_abunoor 4 месяца назад

    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.

    • @AhmadAlMutawa_abunoor
      @AhmadAlMutawa_abunoor 4 месяца назад

      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.

    • @philosophia5577
      @philosophia5577 3 месяца назад

      WSL

  • @marinbb6946
    @marinbb6946 4 месяца назад

    what keyboard are u using

  • @Lorem_the_Ipsum
    @Lorem_the_Ipsum 4 месяца назад

    Now write a compiler in Moo

  • @SimGunther
    @SimGunther 5 месяцев назад

    To this day, he's still eating compiler boogers without any new videos

  • @anon-yn9rc
    @anon-yn9rc 5 месяцев назад

    Hey is this playlist complete like is anything missing ???

  • @Bl0xxy
    @Bl0xxy 5 месяцев назад

    now make a compiler IN scratch 😈

  • @agranero6
    @agranero6 6 месяцев назад

    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?

  • @manasuniyal2897
    @manasuniyal2897 6 месяцев назад

    How are you so intelligent sir . . .?

  • @HAAAAAA614
    @HAAAAAA614 7 месяцев назад

    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

    • @Lensr
      @Lensr 6 месяцев назад

      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

    • @Max-hn9ib
      @Max-hn9ib 6 месяцев назад

      @@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.

  • @Nohope__
    @Nohope__ 7 месяцев назад

    thank you so much great stuff but GOSH your'e code is dirtyyyyy

    • @Lensr
      @Lensr 7 месяцев назад

      You can't spell "your"; I'm not worried about what idiots think.

    • @Nohope__
      @Nohope__ 7 месяцев назад

      I didn't really mean to offend you, I was just criticising have some capacity!@@Lensr

  • @spacedream195
    @spacedream195 7 месяцев назад

    Can you link the pdf please?

    • @Lensr
      @Lensr 7 месяцев назад

      Can you use your brain for three seconds to find it?

  • @malusmundus-9605
    @malusmundus-9605 8 месяцев назад

    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.

  • @DatabaseAdministration
    @DatabaseAdministration 9 месяцев назад

    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.

  • @CSharpGuy46-c7g
    @CSharpGuy46-c7g 9 месяцев назад

    If you have a touch sreen and tap on the progress bar, not on the button. * | * ------

  • @thexadgaming
    @thexadgaming 9 месяцев назад

    "hey look recursion" a great opening line!

  • @rohullahalavi
    @rohullahalavi 10 месяцев назад

    tanks

  • @supergem4845
    @supergem4845 10 месяцев назад

    awesome videos man

  • @san_lowkey
    @san_lowkey 10 месяцев назад

    great content ma man, it shows how much ur enjoying this.

  • @youtubeviewer7077
    @youtubeviewer7077 11 месяцев назад

    fprintf() would be handy in this video :)

  • @AndrieMC
    @AndrieMC 11 месяцев назад

    you remind me of tsoding !

  • @shikharjain3536
    @shikharjain3536 11 месяцев назад

    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)?

  • @Howtodo-oz2du
    @Howtodo-oz2du 11 месяцев назад

    Do you have a discord account?

  • @madcc09
    @madcc09 11 месяцев назад

    Awesome! Im following along in Assembly.

  • @GnuChanOS
    @GnuChanOS Год назад

    what if c,python,go,lua in same compiler :D

  • @redstonetutorials5493
    @redstonetutorials5493 Год назад

    waited months for this welcome back lens

  • @labsendeyshent
    @labsendeyshent Год назад

    Pog Lens is back!

  • @swagatbaruah522
    @swagatbaruah522 Год назад

    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.

    • @madcc09
      @madcc09 11 месяцев назад

      just dont use cmake.

  • @BryanChance
    @BryanChance Год назад

    This is very cool. I always wanted to know how it works! Thank you

  • @Biggest-Ounce
    @Biggest-Ounce Год назад

    Amazing. You are such a great developer 😅