# E04-S03: build the scalar emitter/arithmetic fixture. [CmdletBinding()] param() $ErrorActionPreference = "Stop" $project = Split-Path $PSScriptRoot -Parent Import-Module (Join-Path $PSScriptRoot "lib\Nova128Test.psm1") -Force $out = Join-Path $project "build\scalar-test" $link = Invoke-Nova128Link -Name "scalar-test" -BuildDir $out ` -Config (Join-Path $project "cfg\compiler.cfg") -Sources @( (Join-Path $project "src\compiler\codegen.s"), (Join-Path $project "src\runtime\arithmetic.s"), (Join-Path $project "tests\codegen\scalar-test.s")) Write-Host ("built {0}" -f $link.Program)