Simplified type system

This commit is contained in:
Eduard Urbach 2025-02-04 23:58:01 +01:00
parent 71d7cdf5b2
commit bd0a468282
Signed by: eduard
GPG key ID: 49226B848C78F6C8
16 changed files with 70 additions and 55 deletions

View file

@ -2,10 +2,10 @@ package types
import "git.akyoto.dev/cli/q/src/token"
// Field is a field in a data structure.
// Field is a memory region in a data structure.
type Field struct {
Type Type
Name string
Position token.Position
Offset uint8
Offset int
}