Conversation
Recent posts in reply to #hrqg53a
@prologic as promised! https://github.com/JonLundy/twtxt/blob/xuu/integrate-lextwt/types/lextwt/lextwt_test.go#<L435-L461 https://txt.sour.is/search?tag=L435-L461>
the lexer is nearing completion.. the tough part left is rooting out all the formatting code.
@prologic kinda.. It can parse the twts into an AST.. but most of the formatting out expects a string to do regex over rather then the parsed AST. thats what i am working out next.
@prologic yep. it actually extracts everything at parse time. like mentions/tags/links/media. so they can be accessed and manipulated without additional parsing. it can then be output as MarkDown
@prologic ah I need to add an edge case for naked urls with fragments. 
@prologic yep!some of the lexer is directly copied from monkey-lang. love that book series.
søren peter mørch