Fyi https://github.com/tangentstorm/j-lex
On Thu, 5 Oct 2023, LdBeth wrote:
I'm planning to make a literate programming tool for J, and the first step is to make a parser that can tokenlize J. https://gist.github.com/LdBeth/8277950958b964d0778d70ffd3d998de Almost everything except multi line explicit definitions are supported, including multi line direct definition (except "{{)n" is not implemented). Trailing whitespaces and comment "NB." would also signify error. You can try IXML in browser using https://johnlumley.github.io/jwiXML.xhtml Let me know about your comments. --- LdBeth ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm