aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-05ex51 lol spaceDave Gauer1-1/+1
2021-03-05ex51 fixed wordingDave Gauer1-4/+4
2021-03-05ex51 cleaned up wordingDave Gauer1-5/+4
2021-03-05Merge branch 'main' of github.com:ratfactor/ziglings into mainDave Gauer7-10/+10
2021-03-05Add ex51 valuesDave Gauer3-1/+196
2021-03-05Update 48_methods2.zigDave Gauer1-3/+3
2021-03-05Merge pull request #31 from drforester/mainDave Gauer1-0/+3
found a Zig enum with a method
2021-03-04found a Zig enum with a methodDavid Forester1-0/+3
2021-03-03Merge pull request #30 from JosephTLyons/Whitespace-cleanupDave Gauer4-5/+2
Cleaned up some extraneous whitespace characters
2021-03-02Cleaned up some extraneous whitespace charactersJoseph T Lyons4-5/+2
2021-03-02Merge pull request #29 from g-w1/scrDave Gauer2-5/+5
patches: make interpreter compat and make work if not in PATH
2021-03-01patches: make interpreter compat and make work if not in PATHjacob gw2-5/+5
2021-02-28Add ex 50 'no values' (help further address #25)Dave Gauer3-1/+102
2021-02-28Added quiz 6 (and the trumpeting sounds grow louder)Dave Gauer4-7/+112
2021-02-28Added ex 48, additional comment on 46Dave Gauer6-7/+112
2021-02-28oops, left in old note pt. 2Dave Gauer1-1/+1
2021-02-28oops, left in old noteDave Gauer1-1/+1
2021-02-28Change default elephant tail to null (#25)Dave Gauer2-7/+4
It was confusing to see tail... = undefined in the struct definition and then if (tail == null) later in the exercise - it appears that the mismatch would be the issue - but that's distracting from the real issue: making the value optional! Changing the initial value to null is still correct, but won't distract. The only worry now is that the user will remember the undefined definition from the previous exercise and wonder if that has to be that way...but you can't win them all!
2021-02-27Add ex 47: methodsDave Gauer3-3/+105
2021-02-27Merge pull request #27 from vishalsodani/mainDave Gauer2-3/+3
Fixed some typos
2021-02-27New illustration in README!Dave Gauer1-4/+7
Using the "put an image in an issue and link to it on the README" trick to keep the Ziglings repo size down.
2021-02-26Fixed a typo #26Vishal Sodani1-1/+1
2021-02-26Fixed a typo #26Vishal Sodani1-2/+2
2021-02-16Update README so it has THE TRUTHDave Gauer1-1/+2
2021-02-16Added ex. 46 optionals 2 - elephants!Dave Gauer4-1/+64
2021-02-16Merge pull request #24 from mz0/fix06Dave Gauer1-1/+1
fix repeat target
2021-02-16Merge pull request #23 from vishalsodani/mainDave Gauer1-1/+1
Fixed spelling
2021-02-16Exit rather than return upon version failure (#14)Dave Gauer1-1/+1
A plain `zig build` was exiting as expected after the version check failure did an early 'return'. But `zig build 01` (specifying a step) would print the fail message and then continue...but fail to find the step (which was not added). Calling `exit()` solves this. Calling it with an error status code causes vomiting in the build system (since, you know, there was an error). So returning with `exit(0)` is the way to go here.
2021-02-16fix repeat targetMark Zhitomirski1-1/+1
2021-02-16Fixed spellingVishal Sodani1-1/+1
2021-02-15Second attempt of the second attempt (#14)Dave Gauer2-7/+7
2021-02-15Second attempt at explaining the minimum build (#14)Dave Gauer2-12/+18
2021-02-15Merge pull request #22 from quexxon/apply-zig-fmtDave Gauer81-196/+422
Apply `zig fmt` to exercises and generate remaining patch files
2021-02-15Add remaining patch filesWill Clardy43-43/+263
2021-02-15Apply `zig fmt` to exercisesWill Clardy37-144/+152
2021-02-15Manually apply `zig fmt` style to commentsWill Clardy7-10/+8
2021-02-15Merge pull request #20 from quexxon/exercise_12_fixesDave Gauer1-3/+3
Exercise 12 fixes
2021-02-15Replace unclosed opening paren with dashWill Clardy1-1/+1
2021-02-15Add missing opening braces in while statementsWill Clardy1-2/+2
2021-02-14Patches to patches to clean up patchesDave Gauer49-9/+8
2021-02-14Fix Ex.19 typo (#19)Dave Gauer1-1/+1
Oh, look at that, issue 19 is about exercise 19. Today's lucky number is 19. Time to buy a lottery ticket.
2021-02-14Attempt to make the version error and README clearer (#14)Dave Gauer2-8/+13
2021-02-14Added testing abilityDave Gauer49-9/+160
For the full details, see patches/README.md :-)
2021-02-14Make "check and halt" the default for zig build NN (#15)Dave Gauer2-18/+24
The "start with NN" action is now NN_start. Also formatting output for improved clarity (hopefully).
2021-02-14going with this exercise orderDave Gauer1-2/+2
2021-02-1403 assignment - var to const in example for clarityDave Gauer1-1/+1
2021-02-14Merge branch 'main' of github.com:ratfactor/ziglings into mainDave Gauer3-2/+5
2021-02-14Added ex 45 optionalsDave Gauer5-0/+74
(And secretly added the patches/ dir. Don't tell anybody!)
2021-02-14Merge pull request #17 from quexxon/mainDave Gauer1-1/+1
Fix typo in exercise 09: out => our
2021-02-14begone ye errant spaceDave Gauer1-1/+1