{
"@context": "https://nxdlang.org/schema",
"doc_id": "PT023",
"title": "",
"description": "NXD Compiler Testing Notes - Nim",
"layer": "Passed Tests",
"category": "Passed Tests",
"keywords": [Transpilation, Compiler, Nim],
"doc_version": "1.0",
"status": "active"
}
# PT023 (micro test)
### NXD Sample:
```nxd
MODULE TEST
FUNC MAIN()
CONST NAME SET "gabriel"
LET AGE SET 42
LET SCORE SET 99.5
LET ACTIVE SET true
PRINTLN(NAME)
PRINTLN(AGE)
PRINTLN(SCORE)
PRINTLN(ACTIVE)
```
### Result:
COMPILER: PASS
SEMANTICS: PASS
Expected Output:
### Actual Output:
```nim
# test
proc main() =
let name = "gabriel"
var age = 42
var score = 99.5
var active = true
println(name)
println(age)
println(score)
println(active)
```
### Notes:
Documentation