If you’re interested in drawin
If you’re interested, drawing the...
If you’re interested in drawin
If you’re interested, drawing the...
This cyclic relationship
i found this interesting fun to think about and doodled this: https://photos.app.goo.gl/qZrzfy3CGoNszkVMA
We’ve learned how to interpret this from the English example from earlier, so I won’t explain again
you could drop this and assume they get it
expression -> literal | binary | grouping literal -> NUMBER grouping -> "(" expression ")" binary -> expression operator expression operator -> "+" | "-" | "/" | " * " | "^"
I think you should make another version of the "I eat meat" flowchart for an experession using this grammar
it would really maximize use of the analogy you set up already
terminals - English words, in this case - we can use and how we can order these terminals.In explanck,
This image is nice 👌
“I” or “Ayo.”
did you mean "I" "He"? to be consistent with above example
same with verbs
not terminating
I dont think the idea of termination has been introduced well enough to be used freely. Do you mean terminate the whole sentence?
i also dont follow the use of "" to differentiate them
A rule name is defined as a non-terminal because it’s not a final state. As in, it is not terminating. As in, it produces other things.A terminal is defines a final “state”. As in, it terminates. As in, it does not produce other things.
I think you should introduce terminals and non-terminals separately, as against being interspersed with head-> body as a concept.
I don't follow what is being explained with them
A rule name is defined as a non-terminal because it’s not a final state. As in, it is not terminating. As in, it produces other things.A terminal is defines a final “state”. As in, it terminates. As in, it does not produce other things.
perhaps continue to talk of a rule's "head" and not "name" (since they are supposedly the same thing).
otherwise, it looks like you're talking about many new concepts
Abstract Syntax Tree
this header could be smaller than the one immediately above maybe H(x-2), if the one above is H(x)
((Revenue - Sales) / Sales) * 100
little correction to the gross margin formula
As good mathematicians
I think there's an interesting point to be made, perhaps as a footnote, that even people had to learn operator precedence algorithms (techniques like BODMAS etc), or less rigid methods like inferring precedence based on spacing: 1 + 3/4 vs 1+3 / 4. Overtime these became intuitive.
With computers, however, we have to be as explicit as possible.
is one of the smallest constants
lmao I've really arrived; I got a mention in an ayo article.
also... turns out there are also planck units (like planck length, time, etc) which are apparently the smallest possible units that can exist.
ps: this is different from the actual constant