kkokosa / Mobius.ILasm

Common Intermediate Language (CIL) assembler available as a library, based on Mono assembler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributing: Correct command to regenerate ILParser.cs from ILParser.jay

ashmind opened this issue · comments

I've used Mono's jay.exe to regenerate ILParser.cs after some changes in ILParser.jay.
The commend I used was something like this (with skeleton.cs being Mono's skeleton.cs):

jay -c ILParser.jay < skeleton.cs > ILParser.cs

However, the output has a lot more differences than I expected, especially around whitespace.

Is there a canonical way to regenerate it within this repository?

Unfortunatelly not. My goal was to seed ILParser.cs by jay and just forget about it. In fact, I plan huge refactorings around ILParser.cs.

Thanks! Sounds reasonable, though it might be useful to delete the jay file for clarity.

Yeah, I will make "Contributing" section clear about that.