It is subset of c language
- Clone the repository Pocket.
cd pocket
sh bash.sh
. This wll generate updated a.out file.- For sample there is already one file present inside the repo named as 'in.txt' according to the language constraints.
- Run
./a.out < in.txt > spim_code
. - Converted code of 'in.txt' will be carried out using the pocket compiler and spim code will be generated in 'spim_code' file.
- 'spim_code' is the output file in conventon to spim.
- Result :- 'spim_code' cheers. :)