@jaytechsolutions/jts-go 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # JTS Development Kit v1.0
1
+ # JTS Development Kit v1.1.0
2
2
 
3
3
  <p align="center">
4
4
  <b>JTS GO — The Easiest Programming Language to Learn</b><br>
@@ -146,6 +146,35 @@ end
146
146
  print(factorial(5)) # 120
147
147
  ```
148
148
 
149
+ ### Lists
150
+ ```jts
151
+ # Create a list
152
+ nums = [1, 2, 3, 4, 5]
153
+
154
+ # Access elements
155
+ print(nums[0]) # 1
156
+ print(nums[2]) # 3
157
+
158
+ # Modify elements
159
+ nums[0] = 99
160
+
161
+ # Append
162
+ append(nums, 6)
163
+
164
+ # Length
165
+ print(len(nums)) # 6
166
+
167
+ # Type
168
+ print(type(nums)) # list
169
+
170
+ # Mixed types
171
+ mixed = ["hello", 42, true]
172
+ print(mixed) # [hello, 42, true]
173
+
174
+ # Empty list
175
+ empty = []
176
+ ```
177
+
149
178
  ## Example Programs
150
179
 
151
180
  | Program | Description |
@@ -158,6 +187,7 @@ print(factorial(5)) # 120
158
187
  | [functions.jts](examples/functions.jts) | Functions and parameters |
159
188
  | [factorial.jts](examples/factorial.jts) | Recursive factorial |
160
189
  | [fibonacci.jts](examples/fibonacci.jts) | Recursive Fibonacci |
190
+ | [lists.jts](examples/lists.jts) | Lists and arrays |
161
191
 
162
192
  ## Documentation
163
193
 
@@ -177,6 +207,7 @@ Read the full language guide: [Language Documentation](docs/)
177
207
  | `jts file.jts` | Compile and run a JTS GO program |
178
208
  | `jtsc file.jts` | Compile to bytecode only (.jbc) |
179
209
  | `jtsvm file.jbc` | Run a compiled bytecode file |
210
+ | `jts --update` | Update JTS GO to latest version |
180
211
 
181
212
  ## License
182
213
 
@@ -186,5 +217,5 @@ Licensed under the [Apache License 2.0](LICENSE).
186
217
 
187
218
  <p align="center">
188
219
  Made with passion by <b>Aswinjay</b><br>
189
- JTS GO v1.0 — 2025
220
+ JTS GO v1.1.0 — 2025
190
221
  </p>
package/bin/win32/jts.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaytechsolutions/jts-go",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "JTS GO - The easiest programming language to learn. Development Kit v1.0.",
5
5
  "keywords": [
6
6
  "programming language",