Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Generating the Parser using Bison

To generate asmparse.cpp, run either of following:

  • Unix: yacc asmparse.y -o prebuilt/asmparse.cpp
  • Windows: win_bison asmparse.y -o prebuilt\asmparse.cpp

Docker

$ cd runtime

# run a throw-away-after-exit container with --rm
$ docker run --rm -v$(pwd):/runtime -w /runtime/src/coreclr/ilasm alpine \
    sh -c 'apk add bison && yacc asmparse.y -o prebuilt/asmparse.cpp'

To generate grammar, see GrammarExtractor README.