Documentation

FT013 (micro test)

Back to documentation index
# FT013 (micro test)

### NXD Sample:

```nxd
LET P SET PERSON {
    NAME: "gabriel",
    AGE: 42
}
```

### Result:

COMPILER: FAIL
SEMANTICS: FAIL

### Expected Output:

### Actual Output:

N/A

### Notes:

The parser successfully reached the object/map literal body and constructed a dictionary-like value, but the Python IR serializer does not currently support map/object literal serialization.
 
This test also indicates that typed construction syntax such as `PERSON { ... }` is not yet represented as a single constructor expression. The object literal appears to be treated separately from the `PERSON` identifier rather than as the value assigned to `P`.

Required Future Work:

- Add map/object literal representation to AST/IR.
- Add JSON serialization support for object/map values.
- Add Rust IR support for object/map values.
- Add backend emission support for object/map values.
- Add typed constructor support for `TYPE_NAME { ... }`.