Introduction to Grammars and BNF

  Рет қаралды 69,844

Mary Elaine Califf

Mary Elaine Califf

Күн бұрын

Пікірлер: 103
@raidtheferry
@raidtheferry 9 ай бұрын
Much appreciation for these videos, Dr. Califf. My professor now could take some notes. I've never before been so lost following a 3-hour lecture only to feel confident enough for a test 15 minutes later
@maryelainecaliff
@maryelainecaliff 9 ай бұрын
I'm glad you found the video helpful.
@leonardodiehl260
@leonardodiehl260 2 жыл бұрын
You've earned a subscriber. Incredible content, well explained, using the right amount of abstraction, good examples, good slides, well organized video. You should have a much bigger crowd for what you create. Thank you for existing (:
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
I appreciate the compliment, and I'm glad you have found the video helpful.
@szymonpiechutowski2340
@szymonpiechutowski2340 4 ай бұрын
There should be more academics sharing their knowledge online because coding is such an egalitarian field!
@GlenMillard
@GlenMillard 3 жыл бұрын
Excellent video Ms Califf - very easy to understand and follow. Thanks again!
@maryelainecaliff
@maryelainecaliff 3 жыл бұрын
Glad it was helpful!
@sergiobohada1808
@sergiobohada1808 Жыл бұрын
Finding well explained computer science content is not that easy. Thanks for makign a students life a little bit easier. You've earn a subscriber.
@maryelainecaliff
@maryelainecaliff Жыл бұрын
Great to hear! Glad you found it helpful.
@Lisa224224
@Lisa224224 8 ай бұрын
wow, very good video! the only point where i missed a programming example was when you were talking about nonterminals at first but being new to this you gave the perfect intro! thank you!
@maryelainecaliff
@maryelainecaliff 8 ай бұрын
I'm glad you found it helpful
@ericgroen253
@ericgroen253 Жыл бұрын
Hard to catchup if you're not familiair with certain phrases, but it helps me out understanding less good described study material of the course I'm taking...👍🏻
@abdom.abdellatif4807
@abdom.abdellatif4807 24 күн бұрын
very smooth explanation. thanks, Dr.
@maryelainecaliff
@maryelainecaliff 23 күн бұрын
Glad it was helpful!
@timi_t_codes
@timi_t_codes 3 ай бұрын
Excellent video/tutorial! Thanks a lot Dr Califf
@maryelainecaliff
@maryelainecaliff 3 ай бұрын
Glad you found it helpful.
@chanellelegrand4290
@chanellelegrand4290 9 ай бұрын
I just want to say you are amazing and saved my midterm grade :)
@maryelainecaliff
@maryelainecaliff 9 ай бұрын
Glad to hear it.
@daetonharris886
@daetonharris886 Жыл бұрын
This helped me understand the topic very well, I was really struggling to understand the basics of this in my class. Thank you very much for the video!
@maryelainecaliff
@maryelainecaliff Жыл бұрын
I'm glad it helped.
@ledkicker2392
@ledkicker2392 8 ай бұрын
Very clear explanation and a good presentation! Exactly what I needed to help me grasp the concept of BNF quickly and intuitively
@maryelainecaliff
@maryelainecaliff 8 ай бұрын
Glad it was helpful!
@pavel_espinal
@pavel_espinal 2 жыл бұрын
Succinct exposition. Thanks for this valuable content, Dr. Califf.
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
I'm glad you are finding it helpful.
@lorenz2269
@lorenz2269 10 ай бұрын
Very good Video. Got it all first try :)
@maryelainecaliff
@maryelainecaliff 10 ай бұрын
I'm glad you found it helpful.
@mhamadkamel6891
@mhamadkamel6891 3 жыл бұрын
thank you! you are amazing. this video was one of the easiest to understand. I have a question: is it possible to make a rule for another language that has a different syntax and grammar structure from English? for example in English the determiner which is "the" is in front of the noun: the apple. but in Kurdish the determiner is behind a noun: Sewaka. sew: apple, aka:the. can we set a rule for these type of grammar where a noun is followed by a determiner?
@maryelainecaliff
@maryelainecaliff 3 жыл бұрын
In general, a context free grammar can show some of the simpler constructs of any fixed-word order language (one that relies more on the order of the words than the endings of the words to determine the structure/meaning of an utterance). However, no human language can be fully accurately represented in a context-free grammar. I use some simple English here because it should be familiar to my viewers, but BNF is most useful for representing artificial languages, like programming languages. We need something more complex/sophisticated to handle a human language.
@evryon1810
@evryon1810 2 жыл бұрын
Great video, very useful information
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
Thank you! Glad you found it helpful.
@hey_xico
@hey_xico Жыл бұрын
This was amazingly helpful. You gave a nice overview of grammar and how to describe it with BNF. Thank you for video.
@maryelainecaliff
@maryelainecaliff Жыл бұрын
Thanks for the compliment. I'm glad you found it helpful.
@fikernewberhanu9201
@fikernewberhanu9201 23 күн бұрын
This was great explanation. Thanks for the video. Subscribed right after!
@maryelainecaliff
@maryelainecaliff 23 күн бұрын
I'm glad you found it helpful, and hope some of the other videos are as well. I also hope to give you some new content eventually.
@DanielHenriquePeresServejeira
@DanielHenriquePeresServejeira 6 ай бұрын
By seeing the example of the , I just remembered I've already seen the problem of that way of doing it, that tuns ambiguous using the parse trees, but how we do an unambiguous BNF of ? I've already seen the explanation of this problem, using the concepts of matched and unmatched sentences, but I did not understand it very well.
@maryelainecaliff
@maryelainecaliff 6 ай бұрын
Have you checked out my video on ambiguous grammars?
@DanielHenriquePeresServejeira
@DanielHenriquePeresServejeira 6 ай бұрын
​@@maryelainecaliff Not yet, I'll check it.
@Phoenix-lg3mr
@Phoenix-lg3mr 11 ай бұрын
Thank yo so much Ma'am, it was just so awesomely explained.
@maryelainecaliff
@maryelainecaliff 11 ай бұрын
I'm glad you found it helpful.
@jamesshockley4317
@jamesshockley4317 Жыл бұрын
Mary, you're awesome. Thank you so much!
@phaniramteja115
@phaniramteja115 2 жыл бұрын
Can you maybe explain more about how you can write BNF grammar for bitwise expressions.... (Sorry if my questions doesn't make any sense)
@JustNickGavriel
@JustNickGavriel Жыл бұрын
Excellent Video. Excellent tutoring. Thank you. (Although I do feel that Panini could have had a mention even if just to illustrate how long people have been thinking about this stuff)
@maryelainecaliff
@maryelainecaliff Жыл бұрын
Thanks for the compliment.
@dqueezy923
@dqueezy923 Жыл бұрын
Glad I found your channel! Thank you!
@maryelainecaliff
@maryelainecaliff Жыл бұрын
I'm glad you're finding it helpful.
@beytullahyayla5971
@beytullahyayla5971 2 жыл бұрын
I wish i could discover this channel earlier...
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
I appreciate the kind words. I'm glad you're finding it helpful.
@SupreetSinghsuppi
@SupreetSinghsuppi 2 жыл бұрын
This was very helpful! Thank you so much!
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
I'm glad you found it helpful.
@pilot615
@pilot615 9 ай бұрын
Thank you for this useful video.
@maryelainecaliff
@maryelainecaliff 9 ай бұрын
Glad it was helpful!
@7350652
@7350652 2 жыл бұрын
Awesome. Easy to understand. Thanks
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
Glad you found it helpful.
@Wooby1Dooby1
@Wooby1Dooby1 2 жыл бұрын
Very informative. Thanks for the clear and concise explanation :D
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
You're very welcome. Glad it was helpful.
@rocket007
@rocket007 2 жыл бұрын
This was very good explanation, thank you very much
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
You are welcome! I'm glad you found it helpful.
@JP-programming
@JP-programming 3 жыл бұрын
Great 👍
@bikelinc
@bikelinc 3 жыл бұрын
Crazy informative thanks a lot!
@syedatifshah8020
@syedatifshah8020 6 ай бұрын
v.nice you earned a subscriber, your video content is incredible, but I was searching for "attribute grammar" in the context of theory of programming language but I did not find
@maryelainecaliff
@maryelainecaliff 6 ай бұрын
I'm glad you like the content, but attribute grammars are beyond the scope of the classes I currently teach, and I'm still primarily focused on making videos for my current students, though I'm delighted that others find them helpful.
@nicolasrnemeth
@nicolasrnemeth 2 жыл бұрын
Brilliant explanation.
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
You are very kind.
@hszr5852
@hszr5852 2 ай бұрын
It is very similar to Context-Free Grammar!
@maryelainecaliff
@maryelainecaliff 2 ай бұрын
BNF grammars can represent regular, context free, or context sensitive grammars. It's just a different syntax for the grammar that we typically use in theory contexts.
@antoniomarzoa9957
@antoniomarzoa9957 10 ай бұрын
great video! thank you so much!
@maryelainecaliff
@maryelainecaliff 10 ай бұрын
Glad it was helpful!
@HammadKhan-ik8ru
@HammadKhan-ik8ru 3 жыл бұрын
comprehensive. Thanks.
@peilingcai5378
@peilingcai5378 2 жыл бұрын
Very helpful video! Thank you!
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
Glad it was helpful!
@biajidejajchowdhury1058
@biajidejajchowdhury1058 Жыл бұрын
Where do you teach, Professor? Do you have any website where you upload your lecture slides?
@maryelainecaliff
@maryelainecaliff Жыл бұрын
I teach at Illinois State University. Because of modern-day learning management systems and the fact that my slides tend to be somewhat content-light, I do not post them publicly. In class, I'm a big believer in using slides to keep the class organized and ask questions as opposed to using them to convey content, so they would not be very helpful to people who were not sitting in my classroom.
@antonywmiller
@antonywmiller 8 ай бұрын
Thanks for this!
@maryelainecaliff
@maryelainecaliff 8 ай бұрын
You're welcome.
@bkbkbkkkk2471
@bkbkbkkkk2471 Жыл бұрын
Mam you are amazing......
@maryelainecaliff
@maryelainecaliff Жыл бұрын
Thank you? I'm glad you find the video useful.
@bkbkbkkkk2471
@bkbkbkkkk2471 Жыл бұрын
@maryelainecaliff yes mam it was very useful. Have you even explained reduction ad absurdum theorem? It's very confusing..
@hasib6406
@hasib6406 3 жыл бұрын
Thank you so much!
@abdulrhmanalahmadi8499
@abdulrhmanalahmadi8499 3 жыл бұрын
Thank you!
@dhrjarun
@dhrjarun 2 жыл бұрын
Thanks!
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
Welcome! Glad you found it helpful.
@user-sr1pp7sv9q
@user-sr1pp7sv9q Жыл бұрын
Thank you
@maryelainecaliff
@maryelainecaliff Жыл бұрын
Glad you found it helpful.
@tarassavchenko2317
@tarassavchenko2317 3 жыл бұрын
Thank you)
@HasanKarakus
@HasanKarakus Жыл бұрын
thank you mom
@maryelainecaliff
@maryelainecaliff Жыл бұрын
You are welcome. Glad you found it helpful.
@anastasiak8724
@anastasiak8724 2 жыл бұрын
how do we define arrays?
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
In what sense? In a particular language, or are you looking for a formal definition of an array?
@anastasiak8724
@anastasiak8724 2 жыл бұрын
@@maryelainecaliff omg thank you for responding so quickly! Well... I have to define "list" which is an array of positive integers type of variable. In terms of what language....maybe C?
@anastasiak8724
@anastasiak8724 2 жыл бұрын
For example i know that defining a positive integer variable (let's say "x") is ::=, but what are the rules about arrays?
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
@@anastasiak8724 That's going to be specific to a given language and a specific version of BNF/EBNF. Note that you're actually mixing up BNF syntax with regular expression syntax, and they're not quite the same thing -- though definitely related.
@MrKirkCaptain
@MrKirkCaptain 2 жыл бұрын
You're awesome
@maryelainecaliff
@maryelainecaliff 2 жыл бұрын
Thank you.
@hansschenker
@hansschenker Жыл бұрын
Maybe your grand grand grandfather has been a Khalif?
@maryelainecaliff
@maryelainecaliff Жыл бұрын
Afraid not. The Califf name is actually my husband's, and it is believed to come from Europe and be a corruption of either Calef or Caleb. No connection to the title or that part of the world.
@IDK-kv8ob
@IDK-kv8ob 11 ай бұрын
I'm learning about BNF in class, currently. I didn't know the creator of 4Chan was also the creator of BNF. The more you know.
@maryelainecaliff
@maryelainecaliff 11 ай бұрын
Didn't Chris Poole create 4chan?
@kotazkozla253
@kotazkozla253 4 ай бұрын
słabe niestety eh duzo szczekania malo robienia
@AlirezaBagheri-j6g
@AlirezaBagheri-j6g 27 күн бұрын
I hate BNF.
@maryelainecaliff
@maryelainecaliff 27 күн бұрын
I'm sorry to hear that. It's a useful formalism.
@hossainratul6344
@hossainratul6344 2 ай бұрын
thank you
@lucnguyen4544
@lucnguyen4544 19 күн бұрын
Thank you
@norliegh
@norliegh Жыл бұрын
thank you!
Parse Trees
8:37
Mary Elaine Califf
Рет қаралды 29 М.
Parsing Explained - Computerphile
14:58
Computerphile
Рет қаралды 246 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 63 МЛН
Backus-Naur Form
7:44
0612 TV w/ NERDfirst
Рет қаралды 82 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 565 М.
Functional Parsing - Computerphile
22:46
Computerphile
Рет қаралды 138 М.
Ambiguous Programming Language Grammars
8:39
Mary Elaine Califf
Рет қаралды 9 М.
Sentence analysis using a tree diagram
23:25
Rusdi Noor Rosa
Рет қаралды 80 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 562 М.
AQA A’Level BNF and syntax diagrams
9:39
Craig'n'Dave
Рет қаралды 38 М.