Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7,212 changes: 3,609 additions & 3,603 deletions BOOTSTRAP/cli.c

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ dev: install-production
./a.out

build: compile-production
time env $(LSTSFLAGS) ./production --v23 --c -o deploy1.c SRC/dev-index.lsts
time env $(LSTSFLAGS) ./production --v23 --c -o deploy1.c SRC/index.lsts
$(CC) $(CFLAGS) deploy1.c -o deploy1
time env $(LSTSFLAGS) ./deploy1 --v23 --c -o deploy2.c SRC/dev-index.lsts
time env $(LSTSFLAGS) ./deploy1 --v23 --c -o deploy2.c SRC/index.lsts
diff deploy1.c deploy2.c
mv deploy1.c BOOTSTRAP/cli.c
rm -f deploy1 deploy1.c deploy2.c
Expand Down Expand Up @@ -50,7 +50,7 @@ compile-bootstrap:

compile-production: compile-bootstrap
rm -f production
$(LSTSFLAGS) ./bootstrap.exe --v23 --c -o production.c SRC/dev-index.lsts
$(LSTSFLAGS) ./bootstrap.exe --v23 --c -o production.c SRC/index.lsts
$(CC) $(CFLAGS) -o production production.c
rm -f production.c

Expand Down
70 changes: 0 additions & 70 deletions PLUGINS/BACKEND/C/dev-mangle-identifier.lsts

This file was deleted.

134 changes: 0 additions & 134 deletions PLUGINS/BACKEND/C/dev-std-c-mangle-type.lsts

This file was deleted.

2 changes: 1 addition & 1 deletion PLUGINS/BACKEND/C/mangle-identifier.lsts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ let mangle-identifier(kt: Type): S = (
let r = mangle-identifier(tag);
if parameters.length > 0 then r = r + mangle-identifier(c"<");
let c-has-prev = false;
for list c in parameters {
for vector c in parameters {
if c-has-prev { r = r + mangle-identifier(c",") };
r = r + mangle-identifier(c);
c-has-prev = true;
Expand Down
4 changes: 2 additions & 2 deletions PLUGINS/BACKEND/C/std-c-mangle-type.lsts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ let std-c-mangle-type-internal-internal(tt: Type, blame: AST): S = (
if parameters.length > 0 {
r = r + mangle-identifier(c"<");
let pi = 0;
for list p in parameters {
for vector p in parameters {
if pi > 0 then r = r + mangle-identifier(c",");
r = r + std-c-mangle-type-simple(p, blame);
pi = pi + 1;
Expand Down Expand Up @@ -120,7 +120,7 @@ let std-c-mangle-type-simple(tt: Type, blame: AST): S = (
if parameters.length > 0 {
r = r + mangle-identifier(c"<");
let pi = 0;
for list p in parameters {
for vector p in parameters {
if pi > 0 then r = r + mangle-identifier(c",");
r = r + std-c-mangle-type-simple(p, blame);
pi = pi + 1;
Expand Down
Loading
Loading