TDA283-compiler-construction / project

Material for TDA283 / DIT300 Compiler Construction
11 stars 27 forks source link

Add parentheses around `new A` #35

Closed bbyalcinkaya closed 2 years ago

bbyalcinkaya commented 2 years ago

Added parentheses to correctly parse new A -> a.

It should parse as (new A) -> a but defining the precedence among following forms can be problematic.