Technical requirements
In this chapter, you will need the following tools:
- Iyacc, a parser generator for Unicon. Iyacc comes with all recent Unicon builds, so you should already have it.
- BYACC/J, a parser generator for Java. BYACC/J is descended from Berkeley YACC, an open source YACC implementation. You can get the BYACC/J source code from SourceForge.net. Instructions are given below.
You can download this chapter’s code from our GitHub repository: https://github.com/PacktPublishing/Build-Your-Own-Programming-Language-Second-Edition/tree/master/ch4.
The Code in Action video for the chapter can be found here: https://bit.ly/3ClVCSf.
At the time of writing, the BYACC/J source distribution on GitHub contains a command-line option that we will use that is not in the binary distributions or other source .zip
distributions on that site. To obtain a copy of BYACC/J, first clone the Git via a command such as the following:
git clone https://git...