Skip to content

Commit 6d122b4

Browse files
Release: ison-py 1.0.2, isonantic 1.0.1, new Go packages, n8n integration, VS
Code extension
1 parent 4d88800 commit 6d122b4

39 files changed

Lines changed: 6938 additions & 55 deletions

README.md

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ isonantic-rs = "1.0" # Validation & schemas
107107
cp ison-cpp/include/ison_parser.hpp /your/project/
108108
```
109109

110+
**Go:**
111+
```bash
112+
go get github.com/maheshvaikri-code/ison/ison-go
113+
go get github.com/maheshvaikri-code/ison/isonantic-go
114+
```
115+
110116
### Usage Examples
111117

112118
**JavaScript:**
@@ -179,6 +185,24 @@ for (const auto& row : doc["users"].rows) {
179185
}
180186
```
181187

188+
**Go:**
189+
```go
190+
import "github.com/maheshvaikri-code/ison/ison-go"
191+
192+
doc, _ := ison.Parse(`
193+
table.users
194+
id:int name:string active:bool
195+
1 Alice true
196+
2 Bob false
197+
`)
198+
199+
users, _ := doc.Get("users")
200+
for _, row := range users.Rows {
201+
name, _ := row["name"].AsString()
202+
fmt.Println(name)
203+
}
204+
```
205+
182206
---
183207

184208
## ISON Format
@@ -224,8 +248,9 @@ table.users|id name email|2 Bob bob@example.com
224248
| **PyPI** | [ison-py](https://pypi.org/project/ison-py) | [isonantic](https://pypi.org/project/isonantic) | 31 + 39 tests |
225249
| **Crates.io** | [ison-rs](https://crates.io/crates/ison-rs) | [isonantic-rs](https://crates.io/crates/isonantic-rs) | 9 + 1 tests |
226250
| **C++** | ison-cpp | isonantic-cpp | 30 tests |
251+
| **Go** | ison-go | isonantic-go | 28 + 55 tests |
227252

228-
**Total: 9 packages across 4 ecosystems, 208+ tests passing**
253+
**Total: 11 packages across 5 ecosystems, 303+ tests passing**
229254

230255
---
231256

@@ -298,6 +323,8 @@ ison/
298323
├── isonantic-rust/ # Rust validation (Crates.io: isonantic-rs)
299324
├── ison-cpp/ # C++ header-only parser
300325
├── isonantic-cpp/ # C++ header-only validation
326+
├── ison-go/ # Go parser
327+
├── isonantic-go/ # Go validation
301328
├── benchmark/ # Token efficiency benchmarks
302329
├── images/ # Logo and assets
303330
├── LICENSE # MIT License
@@ -328,14 +355,18 @@ cd isonantic-rust && cargo test
328355

329356
# C++
330357
cd ison-cpp && mkdir build && cd build && cmake .. && cmake --build . && ctest
358+
359+
# Go
360+
cd ison-go && go test -v ./...
361+
cd isonantic-go && go test -v ./...
331362
```
332363

333364
---
334365

335366
## Test Results
336367

337368
<details>
338-
<summary><strong>Click to expand test results (208+ tests passing)</strong></summary>
369+
<summary><strong>Click to expand test results (303+ tests passing)</strong></summary>
339370

340371
### JavaScript (ison-parser) - 33 tests
341372
```
@@ -425,6 +456,35 @@ cd ison-cpp && mkdir build && cd build && cmake .. && cmake --build . && ctest
425456
... and 15 more tests
426457
```
427458

459+
### Go (ison-go) - 28 tests
460+
```
461+
✓ TestParseSimpleTable
462+
✓ TestParseTypedFields
463+
✓ TestParseQuotedStrings
464+
✓ TestParseNullValues
465+
✓ TestParseReferences
466+
✓ TestParseObjectBlock
467+
✓ TestParseMultipleBlocks
468+
✓ TestDumps / TestRoundtrip
469+
✓ TestDumpsISONL / TestParseISONL
470+
✓ TestToJSON / TestFromJSON
471+
... and 18 more tests
472+
```
473+
474+
### Go Validation (isonantic-go) - 55 tests
475+
```
476+
✓ TestStringRequired / TestStringOptional
477+
✓ TestStringMinLength / TestStringMaxLength
478+
✓ TestStringEmail / TestStringURL
479+
✓ TestNumberMin / TestNumberPositive
480+
✓ TestIntSchema / TestBooleanRequired
481+
✓ TestRefRequired / TestRefNamespace
482+
✓ TestObjectFieldValidation
483+
✓ TestTableRowValidation
484+
✓ TestDocumentParse / TestDocumentSafeParse
485+
... and 46 more tests
486+
```
487+
428488
</details>
429489

430490
---

benchmark/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pyyaml>=6.0
1111
requests>=2.28.0
1212

1313
# Official ISON parser (PyPI: ison-py)
14-
ison-py>=1.0.0
14+
ison-py>=1.0.2
1515

1616
# Official TOON parser (PyPI: toon-llm)
1717
toon-llm>=1.0.0b6
13.9 KB
Loading

images/ison_logo_white_bg.png

95.9 KB
Loading

0 commit comments

Comments
 (0)