Technical requirements
This chapter will take you through some real technical content. To follow along, you will need to install some tools and download the examples. Let's start by taking a look at how to install UFlex and JFlex.
UFlex comes with Unicon and requires no separate installation. You can download this book's examples from our GitHub repository: https://github.com/PacktPublishing/Build-Your-Own-Programming-Language/tree/master/ch3.
The Code in Action video for the chapter can be found here: https://bit.ly/3Fnn2c2
For JFlex, download jflex-1.8.2.tar.gz
(or newer) from http://jflex.de/download.html. You will have to decompress it from a .tar.gz
file into a .tar
file with gunzip
, and then extract the files from the .tar
file with tar
. It will extract itself into a subdirectory under the directory where you run tar
.
For example, you will see a subdirectory named jflex-1.8.2
. On Windows, wherever you extract JFlex, if you do not move your JFlex installation...