the implementation begins

This commit is contained in:
2024-03-27 21:41:34 -04:00
parent 99058032db
commit d6a0e3d742
141 changed files with 1726 additions and 353 deletions

8
testdata/basic.cow vendored Normal file
View File

@@ -0,0 +1,8 @@
___________
< test text >
-----------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

23
testdata/dragon.cow vendored Normal file
View File

@@ -0,0 +1,23 @@
_____________________________________
/ this is a long block of text. \
| |
| |
| It goes over many lines! It'll even |
\ word-wrap for us. /
-------------------------------------
\ ^ /^
\ / \ // \
\ |\___/| / \// .\
\ /O O \__ / // | \ \ *----*
/ / \/_/ // | \ \ \ |
@___@` \/_ // | \ \ \/\ \
0/0/| \/_ // | \ \ \ \
0/0/0/0/| \/// | \ \ | |
0/0/0/0/0/_|_ / ( // | \ _\ | /
0/0/0/0/0/0/`/,_ _ _/ ) ; -. | _ _\.-~ / /
,-} _ *-.|.-~-. .~ ~
\ \__/ `/\ / ~-. _ .-~ /
\____(oo) *. } { /
( (--) .----~-.\ \-` .~
//__\\ \__ Ack! ///.----..< \ _ -~
// \\ ///-._ _ _ _ _ _ _{^ - - - - ~

8
testdata/extra_spaces.cow vendored Normal file
View File

@@ -0,0 +1,8 @@
___________
< some text >
-----------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("0\t0")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("p 000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string(" 0")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("0")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("0000000000000000000000000000000000000000")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string(" ")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("\n")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("\v")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("0\v0")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("0\f0")

View File

@@ -0,0 +1,2 @@
go test fuzz v1
string("0\n0")

8
testdata/leading_space.cow vendored Normal file
View File

@@ -0,0 +1,8 @@
_______
< text >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

12
testdata/longer_multiline.cow vendored Normal file
View File

@@ -0,0 +1,12 @@
_____________________________________
/ this is a long block of text. \
| |
| |
| It goes over many lines! It'll even |
\ word-wrap for us. /
-------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

9
testdata/multiline.cow vendored Normal file
View File

@@ -0,0 +1,9 @@
______
/ test \
\ text /
------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

9
testdata/too_long.cow vendored Normal file
View File

@@ -0,0 +1,9 @@
_________________________________________
/ 000000000000000000000000000000000000000 \
\ 00000000000 11 /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||