Parsing Explained - Computerphile

Поділитися
Вставка
  • Опубліковано 12 лис 2019
  • How ambiguity is dangerous! Professor Brailsford simplifies parsing.
    EXTRA BITS: • EXTRA BITS: How Chomsk...
    Angle Brackets: • Angle Brackets - Compu...
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottscomputer
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

КОМЕНТАРІ • 189

  • @profdaveb6384
    @profdaveb6384 4 роки тому +626

    Hi everyone, I mentioned in the video that multiply over the positive integers was commutative but as some of you have pointed out, the more precise issue -- in terms of ambiguity side-effects from differing parses -- lies in the associative properties of multiply and divide . Thus, most languages will interpret 8 * 4 * 2 as being (8 *4) * 2 (i.e. left associative) but, in the case of *, the right associative version: 8 * (4 * 2) gives the same answer . This is not so for the / operation where left and right associative versions give different answers. In the absence of any parentheses, as in 8 / 4 / 2, the compiler's job is to enforce the default of: (8 /4) / 2 , i.e. left associativity, to get the correct result. I'm hoping to explain, at some stage, how compilers can do this .

    • @CalvinHikes
      @CalvinHikes 4 роки тому +20

      Yeah but your shirt was amazing!

    • @iamjimfan
      @iamjimfan 4 роки тому +3

      If I recall correctly, bison the parser generator allow designation of operator left/right associativity. But I am not sure about the inner working of it. After all, my favourite language APL has completely eliminated this headache.

    • @profdaveb6384
      @profdaveb6384 4 роки тому +45

      Bought from Boden (UK) a few years ago. Sadly no longer available.
      Thanks for realising that it *is* a shirt - and not pyjamas .....

    • @profdaveb6384
      @profdaveb6384 4 роки тому +13

      Yes. I'm hoping in a later video to use the yacc (bison) parser generator to show how, by using left recursion, one can enforce left associativity. But you're quite right that yacc also lets you write overtly ambiguous grammars and gives you the ability to specify operator precedence with things like %prec

    • @PurplProto
      @PurplProto 4 роки тому +1

      I wish I went to Notts uni now. You have a fantastic way of explanation!

  • @gregfletcher2360
    @gregfletcher2360 4 роки тому +434

    "the robot stroked two furry dice"
    --Professor Brailsford 2019

    • @vd8642
      @vd8642 4 роки тому +31

      I paid £12.99 for that late night film in a holiday-inn.

    • @louiscotteta566
      @louiscotteta566 4 роки тому +2

      V D underrated

    • @TasosAlvas
      @TasosAlvas 4 роки тому +7

      But what did the Professor initially program the robot for? xD

    • @oisnowy5368
      @oisnowy5368 4 роки тому +6

      The 2020 edition will allow people to insert words like "my" and "your" between "stroked" and "two".

    • @phisch95
      @phisch95 4 роки тому +1

      Deep

  • @par5ek
    @par5ek 4 роки тому +98

    Every time I watch one of these videos I thank the man that put these great men in front of a camera and made it available to anyone for free.
    Grateful of being able to meet them and learn so much

  • @granadosvm
    @granadosvm 4 роки тому +38

    First time I see a video from this guy and I liked it very much. He reminds me of those few teachers at college that explained very complex issues in ways that are easy to understand.

  • @Gornius
    @Gornius 4 роки тому +68

    After watching this, calling "programming language" a "language" makes waaay more sense than before.

  • @Richardincancale
    @Richardincancale 4 роки тому +4

    Big thumbs up! I spent months explaining to the language designers of a 3rd generation language in ICL in 1979 that their proposed syntax had loops / ambiguities! We used an automated tool called SAG (Syntax Analyser Generator) that generates a pseudo code for a little FSM to perform the parsing. It also allowed you to call ‘action routines’ to put the syntactic elements on a binary tree on the go.

  • @MrAdamkimbo
    @MrAdamkimbo 3 роки тому +5

    This was excellent, very clear informative and interesting. I'd love to see more on this topic. Especially anything to do with the difference between Parse Trees and Abstract Syntax Trees, what they are, and what use they serve. Also, anything on the Shunting Yard Algorithm and its relation to top-down parsing would be great. Thanks!

  • @zyghom
    @zyghom 4 роки тому +8

    Man, I love your videos, you remind me one (only one) of my teachers - his classes were so cool - like your presentations. Thank you

  • @fuuryuuSKK
    @fuuryuuSKK 4 роки тому +107

    The issue is not commutativity, it is associativity

    • @andurilan
      @andurilan 4 роки тому +4

      Even further down ( or up ) the line of syntactical translation, it really comes down to contextuality. Do we merge, or do we move? The root of the issue in a nutshell.

  • @chaoslab
    @chaoslab 4 роки тому +13

    Always a good day when there is a new Prof Brailsford video on Computerphile!

  • @samuelmontypython8381
    @samuelmontypython8381 2 роки тому +2

    Thank you so much for the concise explanation! I'm taking advanced programming languages and data structures as courses right now and I hate the way they introduce parse trees. I spent over an hour reading and re-reading my required reading on parse trees and just couldn't understand it. I got more out of this video in 15 minutes than I did sitting with my thumb up an ungodly location parsing through the text.

  • @isabellabihy8631
    @isabellabihy8631 4 роки тому

    Among many other things I used to write data editors, that is tools that checked the validity of inputs. I used a grammar building tool with EBNF notation. It had a learning curve but I caught on. That grammar building tool taught me that defining a grammar is quite a job.

  • @StephenFarthing
    @StephenFarthing 4 роки тому +28

    I was a second year undergraduate in 1973 studying biology when I first met BNF. I had to take a 6 lesson course in Algol 60 and the lecturer started off with BNF before immersing us in the language. At the time I wrote BNF off as something I had to get through to complete the module. It was only later I discovered how very useful it is for analysing and learning programming languages (a lot of us back then ended up in computing for paid work, Biology graduates were ten for a penny) I’m even using it now to help me learn Hungarian. So thanks, Prof, for this walk down memory lane.

    • @WebMarketingStgs
      @WebMarketingStgs 4 роки тому +2

      I would like to see the bnf for Hungarian!

    • @KnakuanaRka
      @KnakuanaRka 3 роки тому

      @@WebMarketingStgs Me too; I’d love to see it in an actual language!

    • @allanrichardson9081
      @allanrichardson9081 2 роки тому +1

      Some textbooks call it Backus-Naur and others call it Backus Normal form.

  • @subnumeric
    @subnumeric 2 роки тому +6

    Today I got an A from our (allegedly notoriously hard) algorithms exam. I've picked RPN and syntactical analysis. It was trough these types of videos from Prof. dfb that I've learned so much and sometimes much more then there was in our materials. Oftentimes these videos explain the concepts in a better and more concise manner than any lecture would. Thank your, professor, for what you have done for me and surely many more people trough these videos.

  • @radoslawjocz2976
    @radoslawjocz2976 Рік тому +1

    Parsing in the computer science is lexical analysis and grammar analysis. Such approach simplify the job. Lexical analysis is usually regular grammar done by finite automata with checking one symbol ahead to determine the next step it's input are characters and output lexeme structures. Grammar analysis often works on context free grammar and usually checking one symbol ahead to determine next step it's input are lexeme structures and output is often tree of parsed structures of the language.

  • @DigaDupSuck
    @DigaDupSuck 4 роки тому +26

    i keep thinking the seinfeld theme is going to play every time an item is popped off the stack

    • @martincattell6820
      @martincattell6820 4 роки тому +3

      Yeah I was waiting for the funky bass to start. Always leave them wanting more, I suppose.

  • @BertGrink
    @BertGrink 4 роки тому +2

    Yay the Professor's back!

  • @andurilan
    @andurilan 4 роки тому +13

    Couldnt have come at a perfect time, watching whil(st)e writing one for a compiler as I watch.

    • @superscatboy
      @superscatboy 4 роки тому

      Whilste?

    • @andurilan
      @andurilan 4 роки тому +1

      @@superscatboy While I work. /whistles

  • @bredbert
    @bredbert 4 роки тому +125

    I'm a simple man, I see Professor Brailsford, I click.

    • @tanujnagpal572
      @tanujnagpal572 4 роки тому +1

      I'm a simple man too, I see comments about Professor Brailsford, I click.

    • @morgard211
      @morgard211 4 роки тому +3

      I'm a simple man.

    • @hempwick8203
      @hempwick8203 4 роки тому

      I'm a simple man, I see a simple man comment and I comment.

  • @lolcat69
    @lolcat69 Рік тому +1

    Thanks a lot, i am making my own programming language and this made me understand what a parser is, thanks you a lot magic man ;) ❤

  • @Veptis
    @Veptis 4 роки тому +2

    I started computerlinguistics just weeks ago. We are learning those very things right now b

  • @azrobbins01
    @azrobbins01 4 роки тому +13

    That part at 12:47 was so subtle. The hilarious part is that he is so used to Binary that it is easier for him to think in terms of "32 twos" instead of "Two 32s".
    Also, "The robot stroked the fuzzy dice". Love it.

    • @gamekiller0123
      @gamekiller0123 4 роки тому +3

      I think it has more to do with the order of the numbers. I suppose he could have said "32 times two" or "32 two times", but "32 twos" is a bit more natural.

  • @oscarfeliz9874
    @oscarfeliz9874 4 роки тому +1

    This is my favorite type of ASMR.

  • @nealelliott
    @nealelliott 4 роки тому

    This is a much better description then the boring infix calculator example I had to learn in college.

  • @gwennaneliezer8490
    @gwennaneliezer8490 4 роки тому +2

    13:06
    It is not because a*b = b*a (commutation) that we can do the operation on either way, it is because (a*b)*c = a*(b*c) (which is associativity).

  • @Kram1032
    @Kram1032 4 роки тому +1

    13:05 the property that matters here isn't commutativity (you can multiply a * b and b * a and get the same outcome - i.e. order of values doesn't matter), it's associativity (you can mutiply (a * b) * c and a * (b * c) and it gives the same outcome. I.e. parentheses do not matter or, equivalently, parse tree structure doesn't matter)

  • @potatoradio
    @potatoradio 2 роки тому +1

    Came for the parsing; stayed for the tractor paper... (ok and clear and interesting teaching that made me smile as my brain hurt a bit from getting filled)

  • @MrRyanroberson1
    @MrRyanroberson1 4 роки тому +50

    13:06 small mistake: mathematicians will tell you it's *associative*, because 8(4*2) = (8*4)2 is associativity.

    • @MrRyanroberson1
      @MrRyanroberson1 4 роки тому +8

      @Paul Kovalov except the operation itself was still 8*4*2 in that order for both cases. the tree itself constitutes the parantheses.

    • @Gokuroro
      @Gokuroro 4 роки тому +2

      Came here for this :)

    • @Kram1032
      @Kram1032 4 роки тому

      Oh of course I was like an hour late on this. Just made a comment that said the exact same thing~

    • @gwennaneliezer8490
      @gwennaneliezer8490 4 роки тому +3

      @Paul Kovalov The example he gives says that 8(4*2) = (8*4)*2, and he explained it using commutativity (a*b = b*a), but this is a mistake. This equality is because of the associativity of (*), which says that (a*b)*c = a*(b*c)
      In other words, we can write a*b*c without parentheses because the multiplication is associative (and not necessarily commutative)

    • @pepega3344
      @pepega3344 4 роки тому +1

      @@gwennaneliezer8490 you also said it wrong xd

  • @MSStuckwisch
    @MSStuckwisch 4 роки тому +1

    A great way to play with parsing is using Raku (née Perl 6) that has a built in grammar parser (basically, regex on steroids) that makes implementing BNF, etc, very easy.

  • @nO_d3N1AL
    @nO_d3N1AL 4 роки тому +1

    This video needs to be seen by anyone interested in tools like ANTLR and Xtext but with no knowledge of parsing

  • @thegougeman
    @thegougeman Рік тому

    Professor Brailsford - You could explain Quantum Physics to a Kindergartner and they would understand it. You are the master of story telling and explanation.

  • @JMDinOKC
    @JMDinOKC 4 роки тому +7

    I would love to hear Professor Brailsford read some of Shakespeare’s sonnets.

    • @MK-rn2hm
      @MK-rn2hm 3 роки тому

      Yes and steer away from explaining anything technical

    • @allanrichardson9081
      @allanrichardson9081 2 роки тому

      “Shall I compare thee to a summer’s day? Nay, thou dost not cause a case of melanoma!”

  • @andreaaristokrates9516
    @andreaaristokrates9516 4 роки тому +1

    When I use the divide sign on my calculator the result of 8:4:2 is 1 and when I use the fancy 2d fractions it results in 4, but a single pixel indicated the grouping, so I can force it into being 1 again, if I use a weird way to construct the fraction.

    • @landsgevaer
      @landsgevaer 4 роки тому +1

      I would say that 8/4/2 is indeed 1 in the absence of brackets, because then it would be evaluated left to right.

    • @gwennaneliezer8490
      @gwennaneliezer8490 4 роки тому

      Well, 8/4/2 is ambiguous anyways. Give this to a mathematician, and he will say it doesn't have much sense since this notation is not well defined

    • @cigmorfil4101
      @cigmorfil4101 4 роки тому +1

      If you think of divide as multiply by the reciprocal then with fractions it becomes obvious:
      8 ÷ 4 ÷ 2 = 8 × 1/4 × 1/2
      and now you can do either multiply first:
      (8 × 1/4) × 1/2 = 2 × 1/2 = 1
      8 × (1/4 ×'1/8) = 8 × (1×1)/(2×4) = 8 × 1/8 = 1
      In a fraction the line between the numerator and denominator does mean divide, but what is never overtly taught is with a/b/c is the b a denominator of a/b which then becomes the numerator for c or is it the numerator of b/c which then becomes the denominator of a. The convention is to work left to right with most operators (of the sane precedence to get (a/b)/c; power is the opposite (working right to left) with a^b^c meaning a^(b^c) not (a^b)^c.

  • @siberx4
    @siberx4 4 роки тому +1

    If you're wondering how the described mathematical associativity could have relevance in a normal english sentence to highlight parser ambiguity, the classic "Eats shoots and leaves" joke demonstrates how english sometimes relies on punctuation to hint the correct associativity - without it, the exact same trouble arises and you'll get a different meaning if you build your "tree" in a different order.

    • @menachemsalomon
      @menachemsalomon 4 роки тому

      And of course, "Time flies" is a common example of the difficulty of parsing spoken language. A longer example is the contrast: "Time flies like an arrow," and "Fruit flies like a banana."

    • @Computerphile
      @Computerphile  4 роки тому +1

      In fact an earlier Professor Brailsford video discusses this exact example :) >Sean

  • @AlexandreGurchumelia
    @AlexandreGurchumelia 4 роки тому +1

    12:27 I have created class of octonions overriding multiplication symbol. The two trees give you different results because of non-associativity of octonions i.e. (A*B)*C ≠ A*(B*C).

  • @antivanti
    @antivanti 4 роки тому +5

    I like garden path sentences am delightful
    While Bob ate an apple was in the basket
    In writing, make sure to put commas where they belong and in maths make sure to put parenthesis where they belong to avoid parsing difficulties :)

  • @tarekghosn3648
    @tarekghosn3648 Рік тому

    i love this dude

  • @yash1152
    @yash1152 Рік тому

    1:29 redirect to "Angle Brackets" --> redirects to --> "Chomsky Hierarcy" & "Finite State Automata"

  • @boheem3451
    @boheem3451 4 роки тому +1

    What do you mean 'it makes sense'? How do you define 'sensible'?

  • @beachboardfan9544
    @beachboardfan9544 4 роки тому +1

    HOly hell I wish this would have been shown to me in first grade math!

  • @yash1152
    @yash1152 Рік тому

    14:53 wow, the extra bits part seems interesting
    > _"john, now that you're aware that this..."_

  • @Double-Negative
    @Double-Negative 4 роки тому +1

    reflexive: x=x
    symmetric a=b -> b=a
    transitive: a=b and b=c -> a=c
    irreflexive: ~(a

  • @MrXperx
    @MrXperx 4 роки тому +1

    When I read the title I immediately thought the Professor will be talking of compilers. It was as if he read my mind.

    • @menyasavut3959
      @menyasavut3959 4 роки тому

      computer science && parsing => compilers. it's pretty obvious, da?

    • @londonnight937
      @londonnight937 3 роки тому

      @@menyasavut3959 Menya Savut Kolya. =)))

    • @menyasavut3959
      @menyasavut3959 3 роки тому

      @@londonnight937 Привет, Коля, приятно познакомиться

  • @MichaelQuad
    @MichaelQuad 4 роки тому

    i vote for longer video 8)

  • @effmerunning
    @effmerunning 3 роки тому

    So we would ask, ‘what are option of choices?’ when parsing?

  • @sabriath
    @sabriath 4 роки тому

    If the ambiguity leads you to two outcomes that would be unequal, then the parse description isn't properly created. I prefer EBNF with slight personal modification to standard BNF....it denies ambiguity from the start.

  •  4 роки тому +2

    13:05 Commutation has nothing to do with this. The ambiguity here does not matter because multiplication is associative.

  • @andrewdunbar828
    @andrewdunbar828 4 роки тому +1

    The Indo half of the Indo-European languages tend to be SOV, like Hindi with the verb last. German is actually V-2, which means the verb always comes second, but other parts can move around a bit. That's for very simple three-word sentences. In more complex sentences with more than one verb, it's all the verbs except the main verb that move to the end. Even this is a gross simplification too of course.

    • @Jamie-st6of
      @Jamie-st6of 4 роки тому

      irish gaelic is generally vso and i think every sentence form begins with the verb

    • @Alche_mist
      @Alche_mist 4 роки тому

      And then there are Slavic languages (like Czech I use) that use flexion (slight changes in word form) and otherwise have a lot of freedom when it comes to word order (for example, using it to indicate stress).

    • @BellesLettresMagazin
      @BellesLettresMagazin 4 роки тому

      @@Jamie-st6of That is a Punic (Semitic) substrate. It found ist way into Icelandic, where the verb can appear on Position 1 or 2 without difference in meaning.

    • @menachemsalomon
      @menachemsalomon 4 роки тому +1

      And of course, in OSV Yoda speaks.

    • @allanrichardson9081
      @allanrichardson9081 2 роки тому

      @@menachemsalomon And The writers of the Torah often used VSO, as illustrated by Genesis 1:1
      “In-beginning created Elohim the-heavens and- the-earth.”
      In- = “be-“ as a prefix
      = “et”
      The- = “ha-“ as a prefix
      And- = “ve-“ as a prefix
      And-= “ve-et”

  • @Yotanido
    @Yotanido 4 роки тому +3

    "If the answer is 1 demand your money back"
    I'd demand my money back if it were 4. Division is left-associative.
    Oh, but if 2^3^4 comes out as 4096, you should demand your money back. Exponentiation is right-associative :D

    • @dnomyarnostaw
      @dnomyarnostaw 4 роки тому

      Yes, mine came out = 1

    • @NAME_SLUMS_MOMO
      @NAME_SLUMS_MOMO 4 роки тому +5

      I think he said "If the answer *isn't* 1 ...", but it's difficult to hear.

    • @profdaveb6384
      @profdaveb6384 4 роки тому +3

      Quite so! I said "isn't" ....

  • @211212112
    @211212112 4 роки тому +3

    What about Chomsky?

  • @a33795
    @a33795 4 роки тому +3

    I wish this professor was my grandpa

  • @7th_CAV_Trooper
    @7th_CAV_Trooper 4 місяці тому

    Why cut off when it was just getting interesting? I wanted to hear about Chompsky.

  • @seventeeen29
    @seventeeen29 4 роки тому +3

    A mathematician would actually tell you that * is associative. Not commutative. Associativity is what gives you this property.

    • @slash_me
      @slash_me 4 роки тому +1

      Multiplication is also commutative, but I agree, the issue in this case is associativity.

    • @Kram1032
      @Kram1032 4 роки тому

      ​@@slash_me yeah it's just that commutativity doesn't matter here at all. This would be equally true for matrices or quaternions, say. But not for octonions.

  • @donaldhobson8873
    @donaldhobson8873 4 роки тому

    Actually, the property of multiplication that you are using is associativity, not commutativity.

  • @SudaNIm103
    @SudaNIm103 4 роки тому +2

    I just love the Professor; he’s like the “𝑗𝑜𝑙𝑙𝑦” 爪ᗩ𝕊Tᗴ尺 𝚈𝓞𝔇ᗩ of Computer Science fundamentals!

    • @didiodulaw7417
      @didiodulaw7417 4 роки тому +1

      This extra video ("EXTRA BITS: How Chomsky Fits In - Computerphile") quite delightful you might find ;-)

    • @SudaNIm103
      @SudaNIm103 4 роки тому

      Didiodu Law I unfortunately, cannot find an Extra Bits video on Chomsky; only the original Computerphile episode on Chomsky hierarchies. :( If you have a link please consider posting it.

  • @A3Kr0n
    @A3Kr0n 4 роки тому +1

    Thumbs up for the Chomsky mention!

  • @enrico4776
    @enrico4776 4 роки тому

    Interesting

  • @publicpitchblendeorg
    @publicpitchblendeorg 3 роки тому

    C is awesome

  • @faceofdead
    @faceofdead 4 роки тому +2

    Unfortunately this is extremely complex for me. I hope i can understand better in time :)

  • @petermathie398
    @petermathie398 4 роки тому

    Is this why languages read right to left?

  • @cernejr
    @cernejr 4 роки тому +2

    Minor error: In the given example it is important that multiplication is ASSOCIATIVE, the presenter said COMMUTATIVE.

  • @centerfield6339
    @centerfield6339 2 роки тому

    The tree structures would be simpler if they had a * as the root, rather than E.

  • @programorprogrammed
    @programorprogrammed 4 роки тому

    Parsing, yes

    • @superscatboy
      @superscatboy 4 роки тому

      @MichaelKingsfordGray Parson's nose

  • @FloydMaxwell
    @FloydMaxwell Рік тому

    Parsing has very little to do with compiling. Parsing has a great deal to do with how to live a good life.

  • @stevojohn
    @stevojohn 4 роки тому +1

    Operator precedence.

  • @stuartcoyle1626
    @stuartcoyle1626 4 роки тому +5

    The Dragon book condensed into fifteen minutes. Maybe not quite.

  • @CoffeeTroll
    @CoffeeTroll 4 роки тому +1

    That robot lost no nut November

  • @tecsmith_info
    @tecsmith_info 4 роки тому

    What a total ledge

  • @michalmikulasi5193
    @michalmikulasi5193 Рік тому

    i wish it was "furry balls" instead of dice. so much funnier :D

  • @enio.carlos
    @enio.carlos 7 місяців тому

    the man was holding himself not to talk about compilers lol

  • @kuronosan
    @kuronosan 4 роки тому

    removing bones from fish

  • @whtiequillBj
    @whtiequillBj 4 роки тому +5

    Here is a good example of where grammar matters in your writing. Commas matter.
    Let’s eat, Grandma.
    vs.
    Let’s eat Grandma.

    • @BertGrink
      @BertGrink 4 роки тому +4

      Even capitalisation matters: consider the difference between
      Peter helped his Uncle Jack off the horse.
      and
      Peter helped his uncle jack off the horse.

  • @BellesLettresMagazin
    @BellesLettresMagazin 4 роки тому

    The example sentences are correct (the obey the Grammar rules), but they are not valid, because there is no situation in reality where they would be uttered. That at least how linguists put it. Speaking of linguistics, the tree model is not the way, language actually works.

    • @MadocComadrin
      @MadocComadrin 4 роки тому +1

      It's because really languages aren't context free.

    • @Conenion
      @Conenion 4 роки тому

      > Speaking of linguistics, the tree model is not the way, language actually works.
      A parse tree, or grammar tree is a representation of the concept of the generative grammar which was developed by Noam Chomsky. See also the Chomsky hierarchy of grammars to see were the computer scientists got their ideas from.

    • @BellesLettresMagazin
      @BellesLettresMagazin 4 роки тому +1

      @@Conenion Bullseye! And it is dismissed by , say, 99 percent of all linguists. It already was, when I studied linguistics decades ago. It might be usefull for primitive things like XML, DOMs and modern programming languages, but natural language is 3.2 million years ahead of that.

  • @inception252
    @inception252 2 роки тому +1

    50years experience to make token

  • @mannyc6649
    @mannyc6649 4 роки тому

    The property of multiplication that is shown is not commutativity (a*b = b*a) but associativity: (a*b)*c = a*(b*c)

  • @nazcruz8284
    @nazcruz8284 3 роки тому

    "if the answer isn't 1 demand your money back"

  • @sampoerna2329
    @sampoerna2329 4 роки тому +4

    i dun understand a single thing he is saying ...

    • @another3997
      @another3997 4 роки тому +6

      I parsed your sentence and analysed it. Compiler Error encountered at "dun". You mean "do not" or "don't"? Or perhaps "did not" or "didn't"? We can probably ignore the lack of capitalisation.

    • @Nexus-rt1bm
      @Nexus-rt1bm 3 роки тому

      @@another3997 wouldn't it be a parsing error?

  • @fredirecko
    @fredirecko 4 роки тому

    I tried doing the math problem with my calculator and couldn’t get it .....

  • @tzwacdastag8223
    @tzwacdastag8223 4 роки тому

    So now Robot can Bite Dogs

  • @itsjmmariano
    @itsjmmariano 2 роки тому

    OMG

  • @f4z0
    @f4z0 4 роки тому +4

    Do I need to be a furry to roll those dices?

  • @chloecui2774
    @chloecui2774 2 роки тому

    top down bottom up

  • @GameCyborgCh
    @GameCyborgCh 4 роки тому +1

    He looks like he went to work in his Pyjamas

  • @DeviChexx
    @DeviChexx 3 роки тому

    Ah yes, furry dice.

  • @DiAL033
    @DiAL033 4 роки тому

    ~ 1:00 I am sorry, but I am afraid Prof. Brailsford mixes up verbs and predicates here. "John saw the man running." A verb at the end, but it is not the predicate, that is ok, even in English ;). So anywhere the word "verb" comes up in this vid: what's really meant is the predicate.

    • @CaptainWumbo
      @CaptainWumbo 4 роки тому

      Generally languages are defined SOV SVO etc. You'll see that in grammar books. It doesn't matter that there are modifying elements within those structures. For the same reason the article a/the modifying robot is all part of the subject, running man is all part of the object. Then you can drill down further to find more specific structure.
      This was something that confused me when I first started learning a SOV language, because I wondered how they make sentences with more than one verb if it always has to come at the end. Unfortunately it's a problem of semantics.

    • @DiAL033
      @DiAL033 4 роки тому

      @@CaptainWumbo it's SPO or SOP. Again, it's the predicate that describes part of a sentence' structure. The term verb describes a class of words, just like the term noun. I haven't seen an actual grammar book that uses 'verb' to describe the predicate. Maybe you can name the book title?

    • @CaptainWumbo
      @CaptainWumbo 4 роки тому

      DiAL033 Page 16 of A Dictionary of Basic Japanese Grammar, Seiichi Makino and Michio Tsutsumi, part one of a series of 3 pretty deep grammar books.
      It could be that they chose the more common and widely understood word to get across the point, but at the same time they're not afraid to throw words like copula at you which are just as poorly understood. I hear SOV SVO in plenty of videos as well from people repeating what they've read. It could be that predicate is more technically accurate.
      My book here does define and make use of the word predicate (and core predicate) in many places. And as you say it doesn't have to be a verb, although much of the time it is.
      I think maybe the point SOV gets across is to answer the question where does the verb go, rather than to describe all sentence structures.

    • @superscatboy
      @superscatboy 4 роки тому

      I'm so adjective, I verb nouns.

  • @firehawk128
    @firehawk128 4 роки тому +1

    I'm getting nightmares of CFGs from my misspent youth taking CS courses. lol

  • @utopictech6425
    @utopictech6425 4 роки тому +1

    Sexo na praia.

  • @pierreabbat6157
    @pierreabbat6157 4 роки тому +1

    Two furry dice bit a dog.
    They are flying airplanes. Are they pilots or are they airplanes?

  • @lucidmoses
    @lucidmoses 4 роки тому +2

    yacc

  • @jacobscrackers98
    @jacobscrackers98 4 роки тому

    From the cover picture I expected to see a video of the professor picking his nose. Was disappointed.

    • @BertGrink
      @BertGrink 4 роки тому +2

      That footage is only available on the Director's Cut Special Edition DVD ;)

  • @andrewvella7829
    @andrewvella7829 4 роки тому +1

    Just finished a parser, lol

    • @andrewvella7829
      @andrewvella7829 4 роки тому

      @MichaelKingsfordGray yup, found this video after my parser was finished, haha. I spent my weekend rebuilding a syntax analyzer, and this really could've been a help

  • @sofia.eris.bauhaus
    @sofia.eris.bauhaus 4 роки тому +1

    *notices furry dice*
    what's this? OwO

  • @plapbandit
    @plapbandit 4 роки тому +2

    nth comment

  • @alvesvaren
    @alvesvaren 4 роки тому

    hello

  • @Aemilindore
    @Aemilindore 4 роки тому

    no whatsapp

  • @rinasingh923
    @rinasingh923 4 роки тому

    Boring....... but important tho 😐

  • @tanujnamdeo
    @tanujnamdeo 4 роки тому

    Whats up people

  • @insdel3227
    @insdel3227 4 роки тому +1

    templeos

  • @tompov227
    @tompov227 4 роки тому

    its fun listening to him say paaaaahhhzzeng instead of parsing lol

    • @superscatboy
      @superscatboy 4 роки тому

      He's saying "parsing" instead of "parsing".

  • @rylaczero3740
    @rylaczero3740 4 роки тому

    144th