Skip to content

Commit

Permalink
dynamic types, static types, and S-Expressions interact in nuanced ways
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-johnson-4 committed Jan 4, 2024
1 parent 98d8f62 commit 6cf4b3f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions stdlib/helpers.lm
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
# rsi , rdi : closed reference 1, 2
# r8, r9, r10, r11, rax, rbx, rcx, rdx : volatile internal registers

# .flags can be though of as a "type" for the S structure
# the ref_counter and flags must still be preserved for alternative types
# the atom, head, and tail are free to use as general purpose fields
# type flags=0 denotes an S-Expression

# put8 (%r8 bool[4], %r9: *char)
::put8 := (
\t mov %r8b, %al \n # lower byte of %r11 goes into %rax
Expand Down

0 comments on commit 6cf4b3f

Please sign in to comment.