Skip to content

Commit

Permalink
Add simple README.md describing how to use Bison to generate the ILAS…
Browse files Browse the repository at this point in the history
…M parser
  • Loading branch information
TIHan committed May 14, 2024
1 parent 714a442 commit 5e07c63
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/coreclr/ilasm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Generating the Parser using Bison

- Bison for Windows: https://github.com/lexxmark/winflexbison
- Other platforms: https://www.gnu.org/software/bison

To generate `asmparse.cpp`, run either of following:
- Unix: `yacc asmparse.y -o asmparse.cpp`
- Windows: `win_bison asmparse.y -o asmparse.cpp`

0 comments on commit 5e07c63

Please sign in to comment.