issues
search
nim-works
/
phy
compiler and vm experiments
MIT License
3
stars
2
forks
source link
lang: add tuple types and tuples
#36
Closed
zerbina
closed
2 months ago
zerbina
commented
2 months ago
Summary
implement tuple type constructors
implement tuple constructors
implement general support for aggregate/complex types for
source2il
and the tester
Details
Restructuring
since types can be more complex now, they're represented by the new
SemType
type
move the type representation and corresponding query routines to the new
types
module
Source2IL
implement tuple and tuple type constructor support
implement support for returning aggregate/complex types from procedures. They currently need to be returned via an out parameter
implement expression-list lowering. They're needed for the out parameter handling, but the
L10
doesn't support them yet
VM
support setting the start of the stack with
initThread
implement support for aggregate return values for
vmexec.run
Summary
source2il
and the testerDetails
Restructuring
SemType
typetypes
moduleSource2IL
L10
doesn't support them yetVM
initThread
vmexec.run