Commit Graph

12 Commits

Author SHA1 Message Date
Tom Alexander
e8a89dfeca
Remove log statement. 2023-08-18 23:33:48 -04:00
Tom Alexander
c4762510f4
Handle unicode.
Turns out javascript iterates over strings by character, but all the string functions like slicing, lastIndexOf, and indexing with [] are all based on codepoints without taking into account surrogate pairs like orange heart. It would have been nice if that was mentioned in the documentation...
2023-08-18 23:32:21 -04:00
Tom Alexander
acdc8b8993
Highlighting characters. 2023-08-18 21:06:43 -04:00
Tom Alexander
676dffa15f
Rendering ast tree. 2023-08-18 19:23:31 -04:00
Tom Alexander
0ee33949e9
Beginning of rendering the ast list. 2023-08-18 18:32:23 -04:00
Tom Alexander
27a2bea705
Split the output so I can have a tree. 2023-08-18 17:40:19 -04:00
Tom Alexander
4fb203c1db
Putting in new-line characters in the empty lines has fixed copy+paste and made the min-height css unnecessary. 2023-08-18 17:20:45 -04:00
Tom Alexander
51b4eed034
Beginning the render the parsed content. 2023-08-18 17:10:55 -04:00
Tom Alexander
c3be0f249d
Minor style improvements. 2023-08-18 16:26:05 -04:00
Tom Alexander
13fab742e5
Add a sample output code block. 2023-08-18 16:19:37 -04:00
Tom Alexander
c24c5ee54e
POSTing the body to the server. 2023-08-18 15:41:06 -04:00
Tom Alexander
0331c06875
Minimal structure for the web server. 2023-08-17 03:21:43 -04:00