diff --git a/compiler/architecture.txt b/compiler/architecture.txt deleted file mode 100644 index 71121df..0000000 --- a/compiler/architecture.txt +++ /dev/null @@ -1,34 +0,0 @@ - - - -Mnemonic Arg Arg description ----------------------------------------- -Nop -PushNull -PushInt int initial value -PushString string initial value -PushArray -PushStruct -PushPtr ptr pointer value -Pop -LoadLocal int stack position -StoreLocal int stack position -Call int arg count -Return -Jump -JumpIfNotZero -Add -Subtract -Multiply -Divide -Remainder -Equal -LessThan -And -Or -Xor -Not - - - - diff --git a/compiler/arch.ts b/compiler/old/arch.ts similarity index 100% rename from compiler/arch.ts rename to compiler/old/arch.ts diff --git a/compiler/assembler.ts b/compiler/old/assembler.ts similarity index 100% rename from compiler/assembler.ts rename to compiler/old/assembler.ts diff --git a/compiler/ast.ts b/compiler/old/ast.ts similarity index 100% rename from compiler/ast.ts rename to compiler/old/ast.ts diff --git a/compiler/ast_visitor.ts b/compiler/old/ast_visitor.ts similarity index 100% rename from compiler/ast_visitor.ts rename to compiler/old/ast_visitor.ts diff --git a/compiler/checker.ts b/compiler/old/checker.ts similarity index 100% rename from compiler/checker.ts rename to compiler/old/checker.ts diff --git a/compiler/compiler.ts b/compiler/old/compiler.ts similarity index 100% rename from compiler/compiler.ts rename to compiler/old/compiler.ts diff --git a/compiler/desugar/array_literal.ts b/compiler/old/desugar/array_literal.ts similarity index 100% rename from compiler/desugar/array_literal.ts rename to compiler/old/desugar/array_literal.ts diff --git a/compiler/desugar/compound_assign.ts b/compiler/old/desugar/compound_assign.ts similarity index 100% rename from compiler/desugar/compound_assign.ts rename to compiler/old/desugar/compound_assign.ts diff --git a/compiler/desugar/special_loop.ts b/compiler/old/desugar/special_loop.ts similarity index 100% rename from compiler/desugar/special_loop.ts rename to compiler/old/desugar/special_loop.ts diff --git a/compiler/desugar/struct_literal.ts b/compiler/old/desugar/struct_literal.ts similarity index 100% rename from compiler/desugar/struct_literal.ts rename to compiler/old/desugar/struct_literal.ts diff --git a/compiler/info.ts b/compiler/old/info.ts similarity index 100% rename from compiler/info.ts rename to compiler/old/info.ts diff --git a/compiler/lexer.ts b/compiler/old/lexer.ts similarity index 100% rename from compiler/lexer.ts rename to compiler/old/lexer.ts diff --git a/compiler/lib.ts b/compiler/old/lib.ts similarity index 100% rename from compiler/lib.ts rename to compiler/old/lib.ts diff --git a/compiler/lowerer.ts b/compiler/old/lowerer.ts similarity index 100% rename from compiler/lowerer.ts rename to compiler/old/lowerer.ts diff --git a/compiler/lowerer_locals.ts b/compiler/old/lowerer_locals.ts similarity index 100% rename from compiler/lowerer_locals.ts rename to compiler/old/lowerer_locals.ts diff --git a/compiler/main.ts b/compiler/old/main.ts similarity index 100% rename from compiler/main.ts rename to compiler/old/main.ts diff --git a/compiler/middle/borrow_checker.ts b/compiler/old/middle/borrow_checker.ts similarity index 100% rename from compiler/middle/borrow_checker.ts rename to compiler/old/middle/borrow_checker.ts diff --git a/compiler/middle/cfg.ts b/compiler/old/middle/cfg.ts similarity index 100% rename from compiler/middle/cfg.ts rename to compiler/old/middle/cfg.ts diff --git a/compiler/middle/elim_blocks.ts b/compiler/old/middle/elim_blocks.ts similarity index 100% rename from compiler/middle/elim_blocks.ts rename to compiler/old/middle/elim_blocks.ts diff --git a/compiler/middle/elim_unused_local.ts b/compiler/old/middle/elim_unused_local.ts similarity index 100% rename from compiler/middle/elim_unused_local.ts rename to compiler/old/middle/elim_unused_local.ts diff --git a/compiler/middle/explicit_move_copy.ts b/compiler/old/middle/explicit_move_copy.ts similarity index 100% rename from compiler/middle/explicit_move_copy.ts rename to compiler/old/middle/explicit_move_copy.ts diff --git a/compiler/middle/lower_ast.ts b/compiler/old/middle/lower_ast.ts similarity index 100% rename from compiler/middle/lower_ast.ts rename to compiler/old/middle/lower_ast.ts diff --git a/compiler/middle/mir.ts b/compiler/old/middle/mir.ts similarity index 100% rename from compiler/middle/mir.ts rename to compiler/old/middle/mir.ts diff --git a/compiler/mod.ts b/compiler/old/mod.ts similarity index 100% rename from compiler/mod.ts rename to compiler/old/mod.ts diff --git a/compiler/mono.ts b/compiler/old/mono.ts similarity index 100% rename from compiler/mono.ts rename to compiler/old/mono.ts diff --git a/compiler/parser.ts b/compiler/old/parser.ts similarity index 100% rename from compiler/parser.ts rename to compiler/old/parser.ts diff --git a/compiler/resolver.ts b/compiler/old/resolver.ts similarity index 100% rename from compiler/resolver.ts rename to compiler/old/resolver.ts diff --git a/compiler/resolver_syms.ts b/compiler/old/resolver_syms.ts similarity index 100% rename from compiler/resolver_syms.ts rename to compiler/old/resolver_syms.ts diff --git a/compiler/token.ts b/compiler/old/token.ts similarity index 100% rename from compiler/token.ts rename to compiler/old/token.ts diff --git a/compiler/vtype.ts b/compiler/old/vtype.ts similarity index 100% rename from compiler/vtype.ts rename to compiler/old/vtype.ts