Commit 1f17185
JSON (#11)
* first fully working implementation of stump primitives
* remove sync-equivalent primitive
* update version number and documentation for main-branch merge
* partial work
* add "print" primitive
* feat: add JSON interface route and update HTML templates
* feat: update evaluate_json to use JSON request and response with Rocket
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: remove stray 'f' character in main.rs
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: modify JSON endpoint to accept and return arbitrary JSON structures
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* feat: add evaluate_json method to Evaluator
* prep for implementation of json/scheme conversions
* feat: implement bidirectional JSON and Scheme conversion functions
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* feat: add comprehensive JSON evaluation tests for journal_sdk
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: Update JSON tests to use direct evaluator module conversion functions
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: Reorder imports and clean up whitespace in JSON conversion tests
* feat: fix JSON conversion for Scheme with improved type handling
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: update json tests to use quoted lists for correct parsing
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* feat: convert JSON strings to Scheme symbols by default
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: update test expectation for JSON string to symbol conversion
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: simplify list conversion between JSON and Scheme
* test: fix JSON conversion for Scheme lists and symbols
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: Add robust error handling for JSON/Scheme conversion functions
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: Update scheme2json to handle unknown types as errors
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* test: update tests to handle Result types from json2scheme and scheme2json
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: correct error type in Scheme output parsing error message
* test: ensure JSON error conversion matches Scheme error expressions
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: handle JSON evaluation errors with structured error responses
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: remove unnecessary print statements in evaluator
* refactor: modify JSON-Scheme conversion to use list format for association lists
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* test: update JSON conversion to handle pairs as special type
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* test: add comprehensive tests for pair type conversion
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: remove quote special type handling in scheme-json conversion
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* refactor: remove debug print statements in JSON conversion function
* refactor: modify scheme2json to parse without evaluation and handle quotes
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* feat: add support for quote forms in JSON conversion
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: improve quote handling and error reporting in JSON conversion
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: pass scheme context to s7_is_macro function call
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* fix: handle quote conversion in JSON serialization
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* prepare for testing
* test: fix JSON conversion tests for Scheme types
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
* update to edition2024
* update bindgen
* fix unsafe warnings
* try updating alpine
* try again
* try updating rocksdb
* allow build again
---------
Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>1 parent 490fa4e commit 1f17185
File tree
11 files changed
+1677
-809
lines changed- src
- extensions
- tests
11 files changed
+1677
-809
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments