aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/mmixal
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-01-29 20:51:34 +1100
committerNeil <nyamatongwe@gmail.com>2021-01-29 20:51:34 +1100
commit54341053b273c905afa7503d8dadcc4c46a0d2d3 (patch)
treee25fe4ee686d7d59068f46746006d62a8ca30692 /lexilla/test/examples/mmixal
parentba8b1a91525dd90f8fdcc75480f37815fecce2d2 (diff)
downloadscintilla-mirror-54341053b273c905afa7503d8dadcc4c46a0d2d3.tar.gz
Remove Lexilla files from Scintilla
Diffstat (limited to 'lexilla/test/examples/mmixal')
-rw-r--r--lexilla/test/examples/mmixal/AllStyles.mms74
-rw-r--r--lexilla/test/examples/mmixal/AllStyles.mms.styled74
-rw-r--r--lexilla/test/examples/mmixal/SciTE.properties4
-rw-r--r--lexilla/test/examples/mmixal/references.mms16
-rw-r--r--lexilla/test/examples/mmixal/references.mms.styled16
-rw-r--r--lexilla/test/examples/mmixal/x.mms12
-rw-r--r--lexilla/test/examples/mmixal/x.mms.styled12
7 files changed, 0 insertions, 208 deletions
diff --git a/lexilla/test/examples/mmixal/AllStyles.mms b/lexilla/test/examples/mmixal/AllStyles.mms
deleted file mode 100644
index 54de34be4..000000000
--- a/lexilla/test/examples/mmixal/AllStyles.mms
+++ /dev/null
@@ -1,74 +0,0 @@
-% Demonstrate each possible style. Does not make sense as code.
-
-% A comment 1
-% Comment
-
-
-% Whitespace 0
-
-
-
-% Label 2
-label
-
-
-% Not Validated Opcode 3 appears to always validate to either 5 or 6
-% so is never seen on screen.
-
-
-% Division between Label and Opcode 4
-la
-
-
-% Valid Opcode 5
- TRAP
-
-
-% Invalid Opcode 6
- UNKNOWN
-
-
-% Division between Opcode and Operands 7
- LOC
-
-
-% Division of Operands 8
- LOC 0.
-
-
-% Number 9
- BYTE 0
-
-
-% Reference 10
- JMP @label
-
-
-% Char 11
- BYTE 'a'
-
-
-% String 12
- BYTE "Hello, world!"
-
-
-% Register 13
- BYTE rA
-
-
-% Hexadecimal Number 14
- BYTE #FF
-
-
-% Operator 15
- BYTE +
-
-
-% Symbol 16
- TRAP Fputs
-
-
-% Preprocessor 17
-@include a.mms
-
-
diff --git a/lexilla/test/examples/mmixal/AllStyles.mms.styled b/lexilla/test/examples/mmixal/AllStyles.mms.styled
deleted file mode 100644
index b3f64d4f7..000000000
--- a/lexilla/test/examples/mmixal/AllStyles.mms.styled
+++ /dev/null
@@ -1,74 +0,0 @@
-{1}% Demonstrate each possible style. Does not make sense as code.
-{0}
-{1}% A comment 1
-% Comment
-{0}
-
-{1}% Whitespace 0
-{0}
-
-
-{1}% Label 2
-{2}label{4}
-{0}
-
-{1}% Not Validated Opcode 3 appears to always validate to either 5 or 6
-% so is never seen on screen.
-{0}
-
-{1}% Division between Label and Opcode 4
-{2}la{4}
-{0}
-
-{1}% Valid Opcode 5
-{0} {5}TRAP{7}
-{0}
-
-{1}% Invalid Opcode 6
-{0} {6}UNKNOWN{7}
-{0}
-
-{1}% Division between Opcode and Operands 7
-{0} {5}LOC{7}
-{0}
-
-{1}% Division of Operands 8
-{0} {5}LOC{7} {9}0{8}.{1}
-{0}
-
-{1}% Number 9
-{0} {5}BYTE{7} {9}0{1}
-{0}
-
-{1}% Reference 10
-{0} {5}JMP{7} {10}@label{1}
-{0}
-
-{1}% Char 11
-{0} {5}BYTE{7} {11}'a'{1}
-{0}
-
-{1}% String 12
-{0} {5}BYTE{7} {12}"Hello, world!"{1}
-{0}
-
-{1}% Register 13
-{0} {5}BYTE{7} {13}rA{1}
-{0}
-
-{1}% Hexadecimal Number 14
-{0} {5}BYTE{7} {14}#FF{1}
-{0}
-
-{1}% Operator 15
-{0} {5}BYTE{7} {15}+{1}
-{0}
-
-{1}% Symbol 16
-{0} {5}TRAP{7} {16}Fputs{1}
-{0}
-
-{1}% Preprocessor 17
-{17}@include a.mms
-{0}
-
diff --git a/lexilla/test/examples/mmixal/SciTE.properties b/lexilla/test/examples/mmixal/SciTE.properties
deleted file mode 100644
index d458a19fd..000000000
--- a/lexilla/test/examples/mmixal/SciTE.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-lexer.*.mms=mmixal
-keywords.*.mms=BYTE GETA JMP LOC PREFIX TRAP
-keywords2.*.mms=rA
-keywords3.*.mms=Fputs StdOut
diff --git a/lexilla/test/examples/mmixal/references.mms b/lexilla/test/examples/mmixal/references.mms
deleted file mode 100644
index 82be6e8c9..000000000
--- a/lexilla/test/examples/mmixal/references.mms
+++ /dev/null
@@ -1,16 +0,0 @@
-# Bug #2019 Buffer over-read in MMIXAL lexer
-label
- PREFIX Foo:
-% Relative reference (uses PREFIX)
- JMP label
-%
- JMP @label
-% Absolute reference (does not use PREFIX)
- JMP :label
-% In register list so treated as register
- JMP :rA
-% Too long for buffer so truncated
- JMP l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
-% Too long for buffer so truncated then treated as absolute
- JMP :l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
-%
diff --git a/lexilla/test/examples/mmixal/references.mms.styled b/lexilla/test/examples/mmixal/references.mms.styled
deleted file mode 100644
index 78ae29a3a..000000000
--- a/lexilla/test/examples/mmixal/references.mms.styled
+++ /dev/null
@@ -1,16 +0,0 @@
-{1}# Bug #2019 Buffer over-read in MMIXAL lexer
-{2}label{4}
-{0} {5}PREFIX{7} {10}Foo:{1}
-% Relative reference (uses PREFIX)
-{0} {5}JMP{7} {10}label{1}
-%
-{0} {5}JMP{7} {10}@label{1}
-% Absolute reference (does not use PREFIX)
-{0} {5}JMP{7} {10}:label{1}
-% In register list so treated as register
-{0} {5}JMP{7} {13}:rA{1}
-% Too long for buffer so truncated
-{0} {5}JMP{7} {10}l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890{1}
-% Too long for buffer so truncated then treated as absolute
-{0} {5}JMP{7} {10}:l1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890{1}
-%
diff --git a/lexilla/test/examples/mmixal/x.mms b/lexilla/test/examples/mmixal/x.mms
deleted file mode 100644
index 538d22163..000000000
--- a/lexilla/test/examples/mmixal/x.mms
+++ /dev/null
@@ -1,12 +0,0 @@
-% Some example code
-
- % Set the address of the program initially to 0x100.
- LOC #100
-
-Main GETA $255,string
-
- TRAP 0,Fputs,StdOut
-
- TRAP 0,Halt,0
-
-string BYTE "Hello, world!",#a,0
diff --git a/lexilla/test/examples/mmixal/x.mms.styled b/lexilla/test/examples/mmixal/x.mms.styled
deleted file mode 100644
index 7221e37f9..000000000
--- a/lexilla/test/examples/mmixal/x.mms.styled
+++ /dev/null
@@ -1,12 +0,0 @@
-{1}% Some example code
-{0}
- {1}% Set the address of the program initially to 0x100.
-{0} {5}LOC{7} {14}#100{1}
-{0}
-{2}Main{4} {5}GETA{7} {13}$255{15},{10}string{1}
-{0}
- {5}TRAP{7} {9}0{15},{16}Fputs{15},{16}StdOut{1}
-{0}
- {5}TRAP{7} {9}0{15},{10}Halt{15},{9}0{1}
-{0}
-{2}string{4} {5}BYTE{7} {12}"Hello, world!"{15},{14}#a{15},{9}0{1}