Implemented environment type

This commit is contained in:
Eduard Urbach 2025-02-21 17:35:42 +01:00
parent 1268344238
commit 96ac298980
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 67 additions and 51 deletions

13
src/core/count.go Normal file
View file

@ -0,0 +1,13 @@
package core
type counter = uint16
// count stores how often a certain statement appeared so we can generate a unique label from it.
type count struct {
assert counter
branch counter
multiBranch counter
data counter
loop counter
subBranch counter
}