1
0
forked from alex-eg/sex

still mess, probably obsolete anyways

This commit is contained in:
2025-09-20 12:15:59 +03:00
parent 8e4cc98522
commit fe69fce67b
9 changed files with 80 additions and 5 deletions

23
sex-types.scm Normal file
View File

@@ -0,0 +1,23 @@
(declare
(unit sex-types)
(uses fmt-c))
(import fmt
srfi-69)
(define +all-types+ (make-hash-table))
(define (normalize-type type)
)
(define (add-pointer type)
(list 'pointer type))
(define (add-const type)
(list 'const type))
(define (get-types-from-arglist arglist)
(list))
(define (to-c-type type)
(fmt #f (c-type type)))