{
"@context": "https://nxdlang.org/schema",
"doc_id": "PT033",
"title": "",
"description": "NXD Compiler Testing Notes - Nim",
"layer": "Passed Tests",
"category": "Passed Tests",
"keywords": [Transpilation, Compiler, Nim],
"doc_version": "1.0",
"status": "active"
}
# PT033 (micro test)
### NXD Sample:
```nxd
MODULE TEST
TYPE PERSON STRUCT:
NAME: string
AGE: int
FUNC MAIN()
PRINTLN("STRUCT_DECLARED")
```
### Result:
COMPILER: PASS
SEMANTICS: PASS
Expected Output:
### Actual Output:
```nim
# test
type
PERSON = object
name: string
age: int
proc main() =
println("STRUCT_DECLARED")
```
### Notes:
---
Documentation