mpc icon indicating copy to clipboard operation
mpc copied to clipboard

Add support for semantic action for language parser

Open stevefan1999-personal opened this issue 5 years ago • 1 comments

I was trying to do inline type inference rather than to generate a parse tree then traverse it after PEG passes, this way we could avoid some potential backtracking issue by stopping ahead and hence sped up (or terminate) the parsing process.

I know Clang does parse tree scan too but they clearly had more information than what mpc currently have to deduce a sound combinations.

stevefan1999-personal avatar Dec 06 '18 03:12 stevefan1999-personal