├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── FUTURE.md ├── LICENCE.md ├── README.md ├── bin └── sble_vm.tcl ├── conventions.MD ├── examples ├── 0BSD_LICENCE.md ├── arch │ ├── README.md │ ├── arch_cmd_vic20.inc.asq │ └── arch_linux.inc.asq ├── echo.asq ├── fizzbuzz.asq ├── io.asq ├── io.test.asq ├── msg_macros.asq ├── rock_paper_scissors.asq ├── run_examples.sh ├── sble.test.asq ├── standard.asq ├── standard.test.asq ├── test.asq └── test.test.asq ├── init └── main.tcl ├── lib ├── asm.tcl ├── error.tcl ├── file.tcl ├── lexer.tcl └── parser.tcl ├── main.tcl ├── tekyll.cfg ├── tests ├── all.tcl ├── asm.test ├── error.test ├── fixtures │ ├── 0BSD_LICENCE.md │ ├── add_sub_literals.asq │ ├── adder.asq │ ├── adder_constants_maths.asq │ ├── ascii_asciiz.asq │ ├── call_ret_macros.asq │ ├── constant_math.asq │ ├── error_ascii_invalid_string.asq │ ├── error_ascii_missing_string.asq │ ├── error_asciiz_invalid_string.asq │ ├── error_asciiz_missing_string.asq │ ├── error_bad_strings.asq │ ├── error_equ_name_clash.asq │ ├── error_error_line_formatting.asq │ ├── error_ifdef_no_endif.asq │ ├── error_ifeq_no_endif.asq │ ├── error_include_file_with_errors.asq │ ├── error_include_filename_not_found.asq │ ├── error_include_filename_not_string.asq │ ├── error_label_name_clash.asq │ ├── error_macro_name_exists.asq │ ├── error_macro_noname.asq │ ├── error_macro_wrong_num_args.asq │ ├── error_sble_wrong_num_args.asq │ ├── error_unknown_directive.asq │ ├── error_unknown_label.asq │ ├── error_unknown_macro.asq │ ├── helloworld.asq │ ├── ifdef.asq │ ├── ifeq.asq │ ├── ifndef.asq │ ├── ifne.asq │ ├── include.asq │ ├── label_math.asq │ ├── label_order.asq │ ├── misc.inc.asq │ ├── sub_label_clash.asq │ ├── sub_standard.inc.asq │ └── sub_standard_no_add_macro.inc.asq ├── lexer.test └── test_helpers.tcl └── vendor └── xproc-0.1.tm /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## Master 2 | 3 | * Working towards intial release 4 | -------------------------------------------------------------------------------- /FUTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/FUTURE.md -------------------------------------------------------------------------------- /LICENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/LICENCE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/README.md -------------------------------------------------------------------------------- /bin/sble_vm.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/bin/sble_vm.tcl -------------------------------------------------------------------------------- /conventions.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/conventions.MD -------------------------------------------------------------------------------- /examples/0BSD_LICENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/0BSD_LICENCE.md -------------------------------------------------------------------------------- /examples/arch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/arch/README.md -------------------------------------------------------------------------------- /examples/arch/arch_cmd_vic20.inc.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/arch/arch_cmd_vic20.inc.asq -------------------------------------------------------------------------------- /examples/arch/arch_linux.inc.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/arch/arch_linux.inc.asq -------------------------------------------------------------------------------- /examples/echo.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/echo.asq -------------------------------------------------------------------------------- /examples/fizzbuzz.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/fizzbuzz.asq -------------------------------------------------------------------------------- /examples/io.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/io.asq -------------------------------------------------------------------------------- /examples/io.test.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/io.test.asq -------------------------------------------------------------------------------- /examples/msg_macros.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/msg_macros.asq -------------------------------------------------------------------------------- /examples/rock_paper_scissors.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/rock_paper_scissors.asq -------------------------------------------------------------------------------- /examples/run_examples.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/run_examples.sh -------------------------------------------------------------------------------- /examples/sble.test.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/sble.test.asq -------------------------------------------------------------------------------- /examples/standard.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/standard.asq -------------------------------------------------------------------------------- /examples/standard.test.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/standard.test.asq -------------------------------------------------------------------------------- /examples/test.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/test.asq -------------------------------------------------------------------------------- /examples/test.test.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/examples/test.test.asq -------------------------------------------------------------------------------- /init/main.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/init/main.tcl -------------------------------------------------------------------------------- /lib/asm.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/lib/asm.tcl -------------------------------------------------------------------------------- /lib/error.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/lib/error.tcl -------------------------------------------------------------------------------- /lib/file.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/lib/file.tcl -------------------------------------------------------------------------------- /lib/lexer.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/lib/lexer.tcl -------------------------------------------------------------------------------- /lib/parser.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/lib/parser.tcl -------------------------------------------------------------------------------- /main.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/main.tcl -------------------------------------------------------------------------------- /tekyll.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tekyll.cfg -------------------------------------------------------------------------------- /tests/all.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/all.tcl -------------------------------------------------------------------------------- /tests/asm.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/asm.test -------------------------------------------------------------------------------- /tests/error.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/error.test -------------------------------------------------------------------------------- /tests/fixtures/0BSD_LICENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/0BSD_LICENCE.md -------------------------------------------------------------------------------- /tests/fixtures/add_sub_literals.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/add_sub_literals.asq -------------------------------------------------------------------------------- /tests/fixtures/adder.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/adder.asq -------------------------------------------------------------------------------- /tests/fixtures/adder_constants_maths.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/adder_constants_maths.asq -------------------------------------------------------------------------------- /tests/fixtures/ascii_asciiz.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/ascii_asciiz.asq -------------------------------------------------------------------------------- /tests/fixtures/call_ret_macros.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/call_ret_macros.asq -------------------------------------------------------------------------------- /tests/fixtures/constant_math.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/constant_math.asq -------------------------------------------------------------------------------- /tests/fixtures/error_ascii_invalid_string.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_ascii_invalid_string.asq -------------------------------------------------------------------------------- /tests/fixtures/error_ascii_missing_string.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_ascii_missing_string.asq -------------------------------------------------------------------------------- /tests/fixtures/error_asciiz_invalid_string.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_asciiz_invalid_string.asq -------------------------------------------------------------------------------- /tests/fixtures/error_asciiz_missing_string.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_asciiz_missing_string.asq -------------------------------------------------------------------------------- /tests/fixtures/error_bad_strings.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_bad_strings.asq -------------------------------------------------------------------------------- /tests/fixtures/error_equ_name_clash.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_equ_name_clash.asq -------------------------------------------------------------------------------- /tests/fixtures/error_error_line_formatting.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_error_line_formatting.asq -------------------------------------------------------------------------------- /tests/fixtures/error_ifdef_no_endif.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_ifdef_no_endif.asq -------------------------------------------------------------------------------- /tests/fixtures/error_ifeq_no_endif.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_ifeq_no_endif.asq -------------------------------------------------------------------------------- /tests/fixtures/error_include_file_with_errors.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_include_file_with_errors.asq -------------------------------------------------------------------------------- /tests/fixtures/error_include_filename_not_found.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_include_filename_not_found.asq -------------------------------------------------------------------------------- /tests/fixtures/error_include_filename_not_string.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_include_filename_not_string.asq -------------------------------------------------------------------------------- /tests/fixtures/error_label_name_clash.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_label_name_clash.asq -------------------------------------------------------------------------------- /tests/fixtures/error_macro_name_exists.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_macro_name_exists.asq -------------------------------------------------------------------------------- /tests/fixtures/error_macro_noname.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_macro_noname.asq -------------------------------------------------------------------------------- /tests/fixtures/error_macro_wrong_num_args.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_macro_wrong_num_args.asq -------------------------------------------------------------------------------- /tests/fixtures/error_sble_wrong_num_args.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_sble_wrong_num_args.asq -------------------------------------------------------------------------------- /tests/fixtures/error_unknown_directive.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_unknown_directive.asq -------------------------------------------------------------------------------- /tests/fixtures/error_unknown_label.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_unknown_label.asq -------------------------------------------------------------------------------- /tests/fixtures/error_unknown_macro.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/error_unknown_macro.asq -------------------------------------------------------------------------------- /tests/fixtures/helloworld.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/helloworld.asq -------------------------------------------------------------------------------- /tests/fixtures/ifdef.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/ifdef.asq -------------------------------------------------------------------------------- /tests/fixtures/ifeq.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/ifeq.asq -------------------------------------------------------------------------------- /tests/fixtures/ifndef.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/ifndef.asq -------------------------------------------------------------------------------- /tests/fixtures/ifne.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/ifne.asq -------------------------------------------------------------------------------- /tests/fixtures/include.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/include.asq -------------------------------------------------------------------------------- /tests/fixtures/label_math.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/label_math.asq -------------------------------------------------------------------------------- /tests/fixtures/label_order.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/label_order.asq -------------------------------------------------------------------------------- /tests/fixtures/misc.inc.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/misc.inc.asq -------------------------------------------------------------------------------- /tests/fixtures/sub_label_clash.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/sub_label_clash.asq -------------------------------------------------------------------------------- /tests/fixtures/sub_standard.inc.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/sub_standard.inc.asq -------------------------------------------------------------------------------- /tests/fixtures/sub_standard_no_add_macro.inc.asq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/fixtures/sub_standard_no_add_macro.inc.asq -------------------------------------------------------------------------------- /tests/lexer.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/lexer.test -------------------------------------------------------------------------------- /tests/test_helpers.tcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/tests/test_helpers.tcl -------------------------------------------------------------------------------- /vendor/xproc-0.1.tm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lawrencewoodman/sblasm/HEAD/vendor/xproc-0.1.tm --------------------------------------------------------------------------------