Implement 5.52 translate Scheme to C

This commit is contained in:
2021-06-12 19:49:53 -04:00
parent 15057b52d4
commit 90a1f8a573
12 changed files with 808 additions and 199 deletions

14
shared/scm2c/primitives.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef PRIMITIVES_H
#define PRIMITIVES_H
#include "datum.h"
datum* add(datum* args);
datum* sub(datum* args);
datum* mul(datum* args);
datum* eq(datum* args);
datum* lt(datum* args);
datum* display(datum* args);
datum* newline(datum* args);
#endif