@@ -89,7 +89,9 @@ The WASM backend will:
8989* 🔢 Increment / decrement (` i++ ` , ` i-- ` )
9090* 🔧 Functions with parameters, return values, and recursion
9191* 🧩 Nested function calls (` add(add(1,2), 3) ` )
92- * 📦 Arrays (literals, index read/write, pass to functions)
92+ * 📦 Arrays (literals, index read/write, nested arrays, pass to functions)
93+ * 🗂️ Objects / maps (literals, dot access, bracket access, nested properties)
94+ * 🔗 Chained accessors (` obj.items[0] ` , ` arr[0].name ` , ` obj["key"] ` )
9395* 🖨️ Print statements (` print x; ` )
9496* 🔁 REPL (interactive shell)
9597* 📂 File execution (` rusty run file.rts ` )
@@ -103,6 +105,7 @@ Check out the [`example/`](example/) folder for sample RTS programs, including:
103105
104106- [ ` test.rts ` ] ( example/test.rts ) — array basics (literals, indexing, mutation)
105107- [ ` merge_sort.rts ` ] ( example/merge_sort.rts ) — merge sort implementation using arrays, functions, and recursion
108+ - [ ` graph_dfs.rts ` ] ( example/graph_dfs.rts ) — graph DFS traversal using objects as adjacency lists and visited sets
106109
107110Run any example with:
108111
@@ -179,12 +182,16 @@ cargo run -- repl
179182* [x] Functions (declaration, params, return)
180183* [x] Nested / recursive function calls
181184* [x] Frame-based call stack
182- * [x] Arrays (literals, indexing, mutation)
185+ * [x] Arrays (literals, indexing, nested arrays, mutation)
183186* [x] Array pass/return from functions
187+ * [x] Objects / maps (literals, dot + bracket access, nested properties)
188+ * [x] Object mutation in functions (reference semantics)
189+ * [x] Chained accessors (` obj.items[0] ` , ` arr[0].name ` )
190+ * [x] Underscore in identifiers (` my_value ` , ` _temp ` )
184191* [ ] Type annotations
185- * [ ] Objects / maps
186192* [ ] Closures
187193* [ ] ` <= ` , ` >= ` operators
194+ * [ ] Built-in ` len() ` function
188195
189196---
190197
0 commit comments