diff --git a/compiler/kernel-primitives.rkt b/compiler/kernel-primitives.rkt index 490cc25..0eedcaa 100644 --- a/compiler/kernel-primitives.rkt +++ b/compiler/kernel-primitives.rkt @@ -30,25 +30,39 @@ 'cons 'car 'cdr - 'caar - 'cadr + + + 'caar 'cdar + 'cadr 'cddr 'caaar - 'caadr - 'cadar - 'caddr 'cdaar - 'cdadr + 'cadar 'cddar + 'caadr + 'cdadr + 'caddr 'cdddr 'caaaar - 'caaadr + 'cdaaar + 'cadaar + 'cddaar 'caadar - 'caaddr - 'cadddr + 'cdadar 'caddar - 'list + 'cdddar + 'caaadr + 'cdaadr + 'cadadr + 'cddadr + 'caaddr + 'cdaddr + 'cadddr + 'cddddr + + + 'list 'list? 'list* 'list->vector diff --git a/generate-c-star-d.rkt b/generate-c-star-d.rkt index 4a39731..d5e3bb8 100644 --- a/generate-c-star-d.rkt +++ b/generate-c-star-d.rkt @@ -7,7 +7,7 @@ (define (make-c*r (n 4)) (define template #<