a gleam implementation of a CS assignment originally written in cpp
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: update readme

+46 -9
+46 -9
README.md
··· 1 1 # Lab 6 2 2 3 - ## Part 1 3 + For this lab the program must parse `OT.txt` (format below) to find specific references and produce scoped errors if the reference isn't found. 4 4 5 - Review the lab write-ups in ZyBooks for Section 6.6. 5 + ```text 6 + THE BOOK OF GENESIS 6 7 7 - Edit your code using vi. 8 + CHAPTER 1 9 + 1 In the beginning God created the heaven and the earth. 10 + 2 And the earth was without form, and void; and darkness [was] upon the face of the deep. And the Spirit of God moved upon the face of the waters. 11 + 3 And God said, Let there be light: and there was light. 12 + 4 And God saw the light, that [it was] good: and God divided the light from the darkness. 8 13 9 - Compile your code using: 14 + THE BOOK OF PSALMS 15 + 16 + PSALM 1 17 + 1 Blessed [is] the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, nor sitteth in the seat of the scornful. 18 + 2 But his delight [is] in the law of the LORD; and in his law doth he meditate day and night. 19 + 3 And he shall be like a tree planted by the rivers of water, that bringeth forth his fruit in his season; his leaf also shall not wither; and whatsoever he doeth shall prosper. 20 + ``` 21 + 22 + The project is layed out as follows: 10 23 11 24 ```bash 12 - g++ lab66.cpp -o lab66 25 + . 26 + ├── build # this directory isn't committed and is ephemeral 27 + │   └── lab66 28 + ├── COVERSHEET.md 29 + ├── LICENSE.md 30 + ├── makefile 31 + ├── README.md 32 + ├── src 33 + │   └── lab66.cpp 34 + └── test 35 + ├── OT.txt 36 + └── test.sh 37 + 38 + 4 directories, 8 files 13 39 ``` 14 40 15 - ## Part 2 41 + ### Build scripts 42 + 43 + The preferred way to run the program is through make: 16 44 17 - Complete the [Coversheet](coversheet.md) file and submit it with your final solution 45 + ```bash 46 + make # compiles and runs tests 47 + make run # compiles and runs the program 48 + make clean # clean up the build dir 49 + ``` 18 50 19 - ## Part 3 51 + it is however possible to still do things manually: 20 52 21 - Ensure all code is committed and pushed to GitHub along with running it in ZyLabs. 53 + ```bash 54 + mkdir build 55 + cd build 56 + g++ ../src/lab66.cpp -o lab66 57 + ./lab66 ../test/OT.txt verses.txt 58 + ``` 22 59 23 60 <p align="center"> 24 61 <img src="https://raw.githubusercontent.com/taciturnaxolotl/carriage/main/.github/images/line-break.svg" />