I just wanted to express how lucky we are to have someone like you doing this! It's rare to find such good explanations of computer science and mathematical concepts these days.
@aescling20 күн бұрын
years ago Russ Cox wrote a series of blog posts on regular expressions that this video series is obviously following closely, in particular the first post in the series, “Regular Expression Matching Can Be Simple and Fast”
@tau9632Ай бұрын
Wow what an incredible educational resource! Thank you so much!
@Pablo360ableАй бұрын
Great video! Now I feel like I finally understand that it's "clay knee".
@justinbrady29002 ай бұрын
This took a whole semester to grok back in 2000. Concise explanation.
@VictorMantovani2 ай бұрын
tks youtube algorithm for recommending this amazing channel
@esra_erimez2 ай бұрын
5:40 what follows is one of the most brillant insights and explanations in computer science. You are most impressive.
@maxmustermann55902 ай бұрын
Man I just dived into the rabbit whole of büchli automata a couple of days ago and then you drop this masterpiece. Thank you!!
@mehrdadkhorasani60092 ай бұрын
This channel is truly one of the best of our time, deserving of recognition and appreciation.
@randomsearches3692 ай бұрын
We love you, Kay!
@LESAORAS15 күн бұрын
this was a great refresher for the like 5 courses about languages and automatons and their uses i've attended while doing my compsci masters. good video
@chriskindler102 ай бұрын
this channel has by far become my favourite with regards to programming :)
@rafaelfreire37922 ай бұрын
What a pleasant surprise! Thank you so much for these videos
@Dan-km8zy2 ай бұрын
Love your presentation and video editing style. Thanks for everything
@Paul_ABC2 ай бұрын
Content quality is amazing. You're spoiling us
@jimwiley92752 ай бұрын
Really enjoyed this one... Please never stop making these!
@404willum2 ай бұрын
Less than 3 minutes in and this is already a banger, thanks for the hard work !
@davidebiondani30622 ай бұрын
Maybe the best channel on KZbin, amazing
@esra_erimez2 ай бұрын
Agreed!
@Vukleidon2 ай бұрын
Had me worried that you gave up on the project. Honestly I have to say over the past few weeks, this channel has become one of my favorites. I really hope you will keep on doing the great work!!!
@moormoor42812 ай бұрын
Im listening
@vk8a82 ай бұрын
ok thanks for letting us know
@rudranathmistry6957Ай бұрын
😂
@moormoor42812 ай бұрын
Thanking you most kindly from English England
@connorkapooh20022 ай бұрын
What gets you excited, Moor Moor?
@esra_erimez2 ай бұрын
Fun fact: Regular expressions were invented by Stephen Kleene. They were later popularized by Ken Thompson when he wrote the "ed" editor for Unix. Edit: I wrote this before I saw you had it in your video, once again you continue to impress.
@3ombieautopilot2 ай бұрын
Thank you for making these. Such a rare gem.
@ElaineParraАй бұрын
Hey Kay I am happy we have you as reference and mentor in this journey learning programming and diving in such fundamentals in CS. What in couple of months was really challenging with discipline, effort, motivation and love for the things you like to do at the end we overcome any obstacle! Love for the 0de5
@barcellos-pedro2 ай бұрын
Wow, you are amazing! Thanks for making this video!
@jaketrzcinski8141Ай бұрын
Another banger, Queen! Thanks for putting this together so eloquently!
@amichelis2 ай бұрын
This video encapsulates so well part of what I'm trying to make right now... I'm in awe! Can't wait for the next one! (context: I'm in the process of creating a lexer-parser duo, tailored for educational purposes. It'll take the user through a step-by-step visual journey of how lexing and parsing work, enabling educators to better explain the inner workings of a compiler... Still in very early stages, only parsing is implemented currently... Wish me luck :') )
@ComputerBread2 ай бұрын
Sounds amazing, good luck :)
@user-cg8ez7dz9lАй бұрын
Your videos are actually excellent! This has made me a big fan
@GabrielAnguitaVeas24 күн бұрын
Hola! Infinitamente agradecido, eres una artista
@BigLongRandomNumberNameM-kf9vy14 күн бұрын
I wrote a grammar as a deterministic finite state machine in C. Each state is a function which takes a character and returns a pointer to the next function. On the one hand, I love the simplicity of not needing special data types. I love that, if you wanted to "wrap" it, you just write functions that call functions and return functions. I love that you can test each state is correct in isolation. But I hated that it turned my programming task into a data entry task 😅
@Shdnfncidjen2 ай бұрын
Cheers and thanks for sharing! Loving your videos!
@supercompooper2 ай бұрын
I remember this in my first year university courses. We had to write code that would convert the NDFA to a DFA 😊 takes me back
@Googleguy-12 ай бұрын
new video yay, your videos are amazing!!!
@y9tw0t2 ай бұрын
Another banger. Love your way of going through shit! Already eagerly anticipating your next vid -whatever it may be about.
@Caracuan122 ай бұрын
Excellent video, thanks for the detailed explanation.
@ethanweller30132 ай бұрын
This series is wonderful. It would be nice to have the playlist for it start with the intro and go down from there, would be much easier to watch that way.
@justinbrady29002 ай бұрын
These are the data structures we use for fast pattern matching on firewalls when scanning for malware and intrustions too, with some optimizations. At some point of growing the memory backing them got to hundreds of MB, scouts honor. We got yelled at.
@lterego2 ай бұрын
A lot and very good content in such a short clip. Just a nitpick: at 19:46 "any_char" creeps in instead of "single_char"... some tests work just because the string length are the same as for correct strings (and what should be incorrect strings).
@offYears24 күн бұрын
thanks for pointing this out, i was confused as to why any_char was accepting an argument there
@br3nto2 ай бұрын
Great video! I wish they had taught automata like this at uni
@flippert0Ай бұрын
Wasn't aware about the "Clean" vs "Clay-Knee" controversy. Seemingly (or according to his son Ken Kleene), Stephen C. Kleene invented this peculiar pronunciation of his name all by his own. One remark about 'automata', though. It's a plural for 'automaton'. So it's 'several automata' but 'one automaton'.
@cruzg3dev2 ай бұрын
Oh my!!! This is so gooood! Thanks!!!
@joe_hoeller_chicago2 ай бұрын
What a great video-thank you!!!❤
@Sami_K992 ай бұрын
Heyyy, long time no see, thanks for the vid ✨
@klirmio212 ай бұрын
Noam Chomsky, a linguist and still got influence in Computer Science world. Insane!
@emir51462 ай бұрын
Omg so thanks because that is what i need.
@programmer13562 ай бұрын
As usual, great stuff. Klaynee always gets me too - waaaay back we only had books and had to make up pronunciation (Runge ouch).
@alphmega28 күн бұрын
This was worth a like for the Dijkstra reference alone.
@isaacalves68462 ай бұрын
Hey, I'm studying finite automata in college right now!
@TWinKIeAssasN2 ай бұрын
I took compilers and automata theory last semester and it was hell 😭 that class took over my life for that whole semester
@bt64u302 ай бұрын
+1
@fudencio2 ай бұрын
amazing video.
@JinKee2 ай бұрын
I remember learning lex and yacc back in my compiler design course. I was so proud of barely scraping by on a pass, the only person who got a HD did it by failing three subjects and his girlfriend left him.
@thebirdhasbeencharged2 ай бұрын
The videos are getting cleaner and cleaner
@deryilzАй бұрын
great video!
@br3nto2 ай бұрын
Totally pronounced RegEx, Reg as is in Reginald because it rolls off the tongue better! Or even ReJex. It’s got good mouth feel and ear feel.
@Zaniahiononzenbei2 ай бұрын
I thoroughly hope you dig into the irregular expressions. :( they make me sad. They are nice features to have on occasion, but I think its beauty is someahat like C's beauty. By pushing some useful features out of scope we end up with a tool that is more obviously the right or wrong tool at a given time. C did this with the preprocessor, calling conventions, dynamic dependencies, and symantics for threading. They're all externally defined, and they're all hard problems that need to be solved. There's a lot in regex libraries that feels like its a cool tool, but it feels weird that its there.
@DeepVoiceSatish2 ай бұрын
Thanks for providing
@LeonMerk1232 ай бұрын
Amazing video
@AlberTesla10242 ай бұрын
What a coincidence, i learnt FSM and state pattern. Thanks btw.
@martinsanchez-hw4fi2 ай бұрын
It would be nice to have a video on the lexic analysiss a compiler does
@alexibnzАй бұрын
to quote people on other social networks: am I on KZbin Premium? Absolutely amazing video
@iamblue82722 ай бұрын
This remember me a code wars challenge : "Regular Expression - Check if divisible by 0b111 (7)" where i had to convert a DFA into a regex. Spent hour trying on paper and never finished this kata
@WhizPillАй бұрын
Interesting channel
@volblaАй бұрын
9:03 This needs a plus after the parenthesis. As it is it will only match exactly two "a"s.
@Brice232 ай бұрын
Takes me back to 2018, my first semester in computer science..
@yan-amarАй бұрын
2:08 I didn't know automata were invented and useful outside of computer science. I looked it up and it seems quite interesting.
@BooVoidCatКүн бұрын
21:54 Question: Is there a reason why this is not done by just merging the final state of the left graph with the initial state of the right graph? It seems to me that any state which has only one transition and said transition is an epsilon transition could simply be merged with the succeeding state. Is this correct, or is there a case that I'm missing where that extra transition is necessary or useful?
@MalikMehsi2 ай бұрын
Wish i would've had videos like these when i took my theoretical computer science class... Shit was brutal
@SnuffPuppyLexy2 ай бұрын
Thank you so much
@raelwert23442 ай бұрын
Love your channel! Let me know if you are still looking for a copy of regular expressions and state graphs!
@joel.9543Ай бұрын
Nice video! I have some technical questions: What do you use to make animations? What video editor do you use?
@zadymew78855 күн бұрын
One question. How does the construction deal with us applying the kleene star twice to the NFA?. I found myself implementing this on Haskell and when i tried to plug a parser into it, the string "(a*)*" fried my pc
@marouaniAymen20 күн бұрын
Thanks for the excellent video, but one think I did not understand is how to go from a literal regular expression (I mean the string text itself for example (a*b+)+) I create the automata, seems that we have circular problem here because we need to parse the text itself, which means an automaton, any idea please ? perhaps this can be the subject of a future video, thanks.
@zadymew78855 күн бұрын
They already uploaded a video dedicated to parsing!
@dr.mounir.mallekАй бұрын
I do have the paper by McNaughon and Yamada in case you still need it.
@Justhere369Ай бұрын
Hey Kay, nice video , please what is the name of the software you are using ? ..... Is it JFlap
@bananaear232 ай бұрын
Ur back wohooo
@bananaear232 ай бұрын
also how do I like twice
@SimGunther2 ай бұрын
Simply put, regex needs to be transformed into an NFA before that turns into a DFA that can simplified and transformed into a table driven automaton for those nice tight loops in code 😊
@JayDee-b5u2 ай бұрын
I think I have an implementation that doesn't require shunting yard nor dfa/nfa. A simple pratt parser and binary (and unary) tree is all that is needed. :)
@flippert0Ай бұрын
Of course many people know how to use regexes (every programmer _must_ know them), but few peope actually can build a regex engine. I knew about DFAs and NFAs but your lecture enables me to actually build one of my own (for fun and giggles). Thanks!
@unbearablepun86082 ай бұрын
This would’ve been so helpful a semester ago 😭
@imlemonth2 ай бұрын
This makes me wanna do it myself in python 😅
@demerzel33332 ай бұрын
great content, this has way less views than it deserves
@zweitekonto9654Ай бұрын
the code highlighting lacks a bit of contrast which makes it difficult to read.
@mo9382 ай бұрын
You’re so smart! Makes me feel dumb lol
@jarno40542 ай бұрын
Half of my semester in 30 minutes 🙏
@josephlagrange95312 ай бұрын
Hi, Kay!
@ДаниилИманиАй бұрын
Please, rearrange the ODE5 megalist in chronological order
@neoeno4242Ай бұрын
Have now done - apologies, I thought that was a viewer-setting but I now realise it is mine!
@ForsakenDAemonАй бұрын
Not sure whether you’ve managed to get hold of it otherwise, but just flicked you a copy of McNaughton and Yamada (1960) for educational purposes!
@brulsmurf2 ай бұрын
@6:00 I felt nothing but the void within.
@ngideo2 ай бұрын
Languages! Now we're cookin'!
@eterr90002 ай бұрын
I recently learned about LISP Scheme and I am noticing something that looks like Scheme expression 👀
@Satyam1010-N2 ай бұрын
Happy deepawali light a candle lamps (100+)at main house , may the light remove all kind of darknes self doubt bad habits bad thoughts , your life lights up , happy deepawali Kay
@ahmedAltariqi2 ай бұрын
What tool you used to make the slides?
@kevinbatdorf2 ай бұрын
Where is chapter 1?
@peterbann47592 ай бұрын
I think they are included in Python (I'm learning Python)
@eduardrieraraurell33282 ай бұрын
the regular expression for even number of a's should be (h*ah*ah*)* isn't it?
@zenkira_Ай бұрын
holy graph
@whtiequillBjАй бұрын
your 0DE5 playlist is backwards
@VioletJewel1729Ай бұрын
girllll it's re jex >:((((( ~
@Truth-p7c2 ай бұрын
Wow
@Johnmoe_2 ай бұрын
I see regex I click 😊
@starlonga2 ай бұрын
I pronounced it as «Clean» (Klenee)
@chrisleon272 ай бұрын
Cellular automata
@ponirvea2 ай бұрын
great video! i think you forgot a cut around 15:32