Commit Graph

30 Commits (6fb8b6c5169e5fd6b7cd653c63ed26b9903b44d7)

Author SHA1 Message Date
Joshua Potter 383ada8661
Add an optional `required` attribute to fields. (#10) 2023-11-30 09:33:25 -07:00
Joshua Potter b283fcdfb8 Rename type "text" to "line". 2023-11-27 05:03:05 -07:00
Joshua Potter 80b1f4ed49 Add consistent error output. 2023-11-26 06:30:44 -07:00
Joshua Potter df65c8bcac Ensure keys are alphanumeric, underscores, and do not begin with digits. 2023-11-25 15:58:13 -07:00
Joshua Potter 0fc476ceed Use case-insensitive variant of `strcmp`. 2023-11-25 15:47:47 -07:00
Joshua Potter 6f77c400e9 Rename `path` to `string_utils`. 2023-11-25 15:29:35 -07:00
Joshua Potter eb598fe639 Add additional content around README. 2023-11-25 15:25:01 -07:00
Joshua Potter cb8b16a767 Add documentation for remaining header files. 2023-11-25 12:18:36 -07:00
Joshua Potter 7cc11c86e3 Add documentation for `config`, `dyn_array`, `error`, and `string_buf`. 2023-11-25 11:51:42 -07:00
Joshua Potter 16e971af0b Allow reading in STRING prompts. 2023-11-25 10:37:41 -07:00
Joshua Potter 537226c651 Propagate the results of running the run.sh script. 2023-11-25 09:34:24 -07:00
Joshua Potter 400388b262 Migrate to consolidated error handling. 2023-11-25 09:15:30 -07:00
Joshua Potter ea71a0d661 Add an error interface for arbitrary length messages. 2023-11-25 08:55:52 -07:00
Joshua Potter 2501754886 Add concept of error messages. 2023-11-25 06:47:49 -07:00
Joshua Potter 683bf863ab Allow executing `run.sh`. 2023-11-24 20:29:24 -07:00
Joshua Potter a17d6eb3e3 Run formatting with additional rules. 2023-11-24 19:35:34 -07:00
Joshua Potter 07f9853481 Convert fields into objects with properties. 2023-11-24 19:29:14 -07:00
Joshua Potter 795307f2a1 Add command line parsing and test spec directory existence. 2023-11-24 11:47:23 -07:00
Joshua Potter aba0439858 Add draft for `spec.json` validation. 2023-11-24 10:27:44 -07:00
Joshua Potter 1194d70975 Rename loader -> parser. 2023-11-24 09:11:21 -07:00
Joshua Potter b43b1e8122 Rename SpecJsonError -> SpecParseError. 2023-11-24 09:01:33 -07:00
Joshua Potter 1b8b454ccd Correctly handle nonexistent `spec.json` file. 2023-11-23 13:31:54 -07:00
Joshua Potter 694fe98167 Embed the cJSON library. 2023-11-23 11:09:07 -07:00
Joshua Potter bdbd942e9b Rename once more to `bootstrap`. 2023-11-23 11:02:40 -07:00
Joshua Potter 1c941e71e7 Get the CWD on launch. 2023-11-23 08:07:22 -07:00
Joshua Potter 25b46b9b64 Fix config/dyn_array with tests. 2023-11-23 07:40:17 -07:00
Joshua Potter be95ee0fc5 Add config tests. 2023-11-23 04:09:58 -07:00
Joshua Potter 4a8f8db0a5 Better naming throughout to match `spec`. 2023-11-22 14:55:55 -07:00
Joshua Potter f949647e1b Add example of spec and explanation on how it works. 2023-11-22 14:39:27 -07:00
Joshua Potter 13dff67a36 Add all files. 2023-11-22 13:43:34 -07:00