Commit Graph

92 Commits (b82ce9580fcab4e147e365d03b137fd51e2feb25)

Author SHA1 Message Date
Joshua Potter 0f3d5b26b1 Update Makefile to support different release environments. 2023-11-26 08:40:55 -07:00
Joshua Potter 36f5bf1dfc Flesh out development section of README. 2023-11-26 06:39:41 -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 27c097eb72 Don't format the prompt. 2023-11-25 12:48:21 -07:00
Joshua Potter ef2bb9cc1f Add first fuller pass of README. 2023-11-25 12:43:41 -07:00
Joshua Potter cb8b16a767 Add documentation for remaining header files. 2023-11-25 12:18:36 -07:00
Joshua Potter 20ebd74375 Hide test files from documentation generator. 2023-11-25 11:52:59 -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 9f38284e3d Drop extraneous quotes. 2023-11-24 20:32:31 -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 52efac43bd Fix pre-commit. 2023-11-24 12:29:53 -07:00
Joshua Potter 9eeb858a9a Add first prompt type. 2023-11-24 12:23:52 -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 9074792cfc Parse JSON if file is available. 2023-11-23 15:01:58 -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 63e5acc91f Add automatic, configured formatting. 2023-11-23 08:22:43 -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 81500d3087 Simplify the clang example template. 2023-11-23 04:10:04 -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 508d738f9b Rename to `spec`. 2023-11-22 14:43:20 -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
Joshua Potter d5a6567aec Add example `main.c` file. 2023-11-22 11:50:15 -07:00
Joshua Potter 76d8dd3789 Initial commit. 2023-11-22 10:43:05 -07:00