tag:blogger.com,1999:blog-1317519969686201237.post7688631323898434883..comments2023-03-01T16:35:02.152-07:00Comments on Americium Dream Documents: custom precedence rulesPhilip Torrance (ADDN)http://www.blogger.com/profile/13133625113916983486noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1317519969686201237.post-114542640636410672013-04-30T03:24:49.789-07:002013-04-30T03:24:49.789-07:003.22: adda/parse/dealing with limited datatyping:
...3.22: adda/parse/dealing with limited datatyping:<br />. what if the parser doesn't have the type of an operator?<br />then it doesn't have a precedence<br />but it has the type of the operator's operands,<br />and those types should support that operator,<br />so then the operator's type in that context<br />becomes known by inference .<br />. if the atoms are untyped,<br />then the only operaters allowed<br />are those supported by numerics or logic .<br />. still, an intermediary parser starts by<br />putting biops in an array<br />that is the same as a flattened tree .<br />Philip Torrance (ADDN)https://www.blogger.com/profile/13133625113916983486noreply@blogger.com