Improved type system
This commit is contained in:
@ -1,10 +1,8 @@
|
||||
package types
|
||||
|
||||
type Type string
|
||||
|
||||
const (
|
||||
Invalid = ""
|
||||
Any = "Any"
|
||||
Int = "Int"
|
||||
Pointer = "Pointer"
|
||||
)
|
||||
// Type represents a type in the type system.
|
||||
type Type struct {
|
||||
Name string
|
||||
Fields []*Field
|
||||
Size uint8
|
||||
}
|
||||
|
Reference in New Issue
Block a user