Jordan Orelli
cd51f4cce1
i'm redoing all the parsing lol
11 months ago
Jordan Orelli
d152c4092a
I'm redoing the lexing and parsing
1 year ago
Jordan Orelli
4a0db72d4e
logging is in a separate method now
1 year ago
Jordan Orelli
522668be28
maybe i should figure out how to glob
2 years ago
Jordan Orelli
05793bd42c
awkward but sorta works
2 years ago
Jordan Orelli
1715ba037f
this doesn't work but I wanna switch computers
2 years ago
Jordan Orelli
845679eebc
more readme info
2 years ago
Jordan Orelli
5de73c2c06
add a readme
2 years ago
Jordan Orelli
869cc68abd
surely this is not computer science
2 years ago
Jordan Orelli
0c0bd77eea
what even is this language sometimes
2 years ago
Jordan Orelli
b28e107ea3
how do you even write a parser lol
2 years ago
Jordan Orelli
5980bc59da
just messin around now
2 years ago
Jordan Orelli
d79a28b3b0
start lexin
2 years ago
Jordan Orelli
0a0dfc2ee9
reorganizing extension commands
2 years ago
Jordan Orelli
3f6eaa8e61
define path expansion
2 years ago
Jordan Orelli
cd494d0f76
is this macro at all necessary
...
probably not
2 years ago
Jordan Orelli
592ebf6e3a
alright things are getting dark now
2 years ago
Jordan Orelli
15e3ca93cc
cleaning up shell state
...
this sure is tedious
2 years ago
Jordan Orelli
a6fa189490
removing useless escape sequences
2 years ago
Jordan Orelli
891ed46af9
movin stuff into a shell module
2 years ago
Jordan Orelli
37224f63c5
more refactoring for great beauty
2 years ago
Jordan Orelli
cba1004db8
moving output writing to one spot
2 years ago
Jordan Orelli
1eb955b474
some more line movements
2 years ago
Jordan Orelli
3fd068d4c8
ctrl+u clears to the beginning of the line
2 years ago
Jordan Orelli
a727b6cfc5
i can sorta use this as a shell now
2 years ago
Jordan Orelli
1600b7a497
unicode logging like a pro
2 years ago
Jordan Orelli
534df2b6ef
ctrl-l clears the screen
2 years ago
Jordan Orelli
ca94a86a24
a shockingly bad tail implementation
...
the version of tail.exe that exists in coreutils on scoop cannot handle
unicode at all, which is really annoying, so I wrote an in-shell tail
that handles utf-8 cleanly. It reads one byte at a time and then checks
if the whole buffer that it has read is valid utf-8 and then spits it
out of it is. There's also no way to stop it lol. It is -terrible-
2 years ago
Jordan Orelli
d2066e8526
wow it's actually a shell now
2 years ago
Jordan Orelli
e2455594f4
looks like I'm cookin with gas now
2 years ago
Jordan Orelli
fdbc638628
can spawn processes w00t
2 years ago
Jordan Orelli
bc536132ad
do something other than echo
2 years ago
Jordan Orelli
6c97ff2889
really terrible backspace
2 years ago
Jordan Orelli
893a38f694
can move right
2 years ago
Jordan Orelli
3964417081
can move left
2 years ago
Jordan Orelli
b0138d6473
working on moving left
...
this is the first actual line-editing and ansi escape handling w00t
2 years ago
Jordan Orelli
755e16d045
cleaning up
2 years ago
Jordan Orelli
79e41a376a
key codes are neat
2 years ago
Jordan Orelli
5a74f9308b
move input handling into a separate input module
2 years ago
Jordan Orelli
0d64ff47c7
actually exit the shell with ctrl+d
2 years ago
Jordan Orelli
b8e001f008
ok ctrl+c works
2 years ago
Jordan Orelli
b548b908e7
fucking crowdstrike
2 years ago
Jordan Orelli
f8f59c2de5
prompt
2 years ago
Jordan Orelli
d1c379c755
line struct ha
2 years ago
Jordan Orelli
ef41b94d2d
echo the line
2 years ago
Jordan Orelli
c7a0a404fe
modifiers are ... not the same on every machine huh
2 years ago
Jordan Orelli
edcabd16c7
set the code page correctly
2 years ago
Jordan Orelli
05c3d0832c
hmm how do you debug a shell
2 years ago
Jordan Orelli
1f46fe5bb7
decoding input events
2 years ago
Jordan Orelli
ee7f8a7db3
debugging console flags
2 years ago