~indieterminacy/1q20hqh_kq_parsing_gemtext

Parsing content in format Gemtext using TXR
nwn-twt	referencing-better-documentation
nw-jw	adding-initial-parameters-for-repo
nw-jw	adding-initial-parameters-for-repo

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~indieterminacy/1q20hqh_kq_parsing_gemtext
read/write
git@git.sr.ht:~indieterminacy/1q20hqh_kq_parsing_gemtext

You can also use your local clone with git send-email.

#Description

Parser of format Gemtext.

Designed, to use and export the annotations Quiy (a "recursive-modelling-language").

It is implemented in TXR, a highly flexible parser and Lisp

https://www.nongnu.org/txr/

#Examples

#Recent

$ txr -l rqr-hqh.txr te-mqm

(mq_fq-iqi_type_document-line nil nil nil nil nil "#" "##" "###"
 "#" "##" "###" "#" "##" "###" nil nil "###" "#" "*" "*" "*" "*"
 "*" "*" "*" ">" ">" ">" ">" ">" ">" ">" "=>" "=>" "=>" "=>" "=>"
 "=>" "=>" "=>" "=>" nil nil nil nil nil nil nil nil nil nil nil
 nil nil nil)
(heh-mq_parsing-string "" "" "" "" "lala" "" "" "" "" "" "" nil
 nil nil "# nqn-fq_jq 2003 09 " "## rer_f2 Im a header with an annotation"
 "Im a header-date test" "lala" "Im a bullet-date test" "" ""
 "" "" "" "lala" "" "" nil "" "" "" "lala date" "" "" "" "mini://icebreaker.space nqn-fq_jq"
 "mini://icebreaker.space nqn-fq_jq a comment and annotation with uri"
 "mini://icebreaker.space nqn-fq_jq 2022-06 a comment and annotation and date with uri"
 "" "" "lala" "```" "block content" "block has no header content"
 "```" "``` im a block header" "block content" "block has no header content"
 "```" "``` iq im a block with annotation" "block content" "block has no header content"
 "```" "``` block header no block content" "```")
(heh-nqn_me_date_dd nil nil nil nil nil nil nil nil nil nil nil
 "01" "02" "03" nil nil nil nil nil nil nil nil nil nil nil nil
 nil "03" nil nil nil nil nil nil nil nil nil nil nil nil nil
 nil nil nil nil nil nil nil nil nil nil nil nil nil nil)
(heh-nqn_me_date_mm nil nil nil nil nil nil nil nil nil nil nil
 "12" "11" "10" nil nil nil nil "09" nil nil nil nil nil nil nil
 nil "03" nil nil nil "10" nil nil nil nil nil nil nil nil nil
 nil nil nil nil nil nil nil nil nil nil nil nil nil nil)
(heh-nqn_me_date_yyyy nil nil nil nil nil nil nil nil nil nil
 nil "2000" "2001" "2002" nil nil "2004" nil "2005" nil nil nil
 nil nil nil nil nil "2030" nil nil nil "2009" nil nil nil nil
 nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
 nil nil nil)
(heh-nqn_me_date_dy nil nil nil nil nil nil nil nil nil nil nil
 nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
 "Tuesday" nil nil nil nil nil nil nil nil nil nil nil nil nil
 nil nil nil nil nil nil nil nil nil nil nil nil nil nil)
(mqm_mq_quiy_compound-mixed nil nil nil "xq" nil nil nil nil nil
 nil "xq" nil nil nil nil nil "xq" nil nil nil nil nil nil "xq"
 nil nil nil nil nil nil "xq" nil nil nil nil nil nil nil nil
 "xq" nil nil nil nil nil nil nil nil nil nil nil nil nil nil
 nil)
(mqm_mq_quiy_compound-base nil "jq" "f2" "mwm" nil nil nil nil
 "jq" "f2" "mwm" nil nil nil nil nil "mwm" nil nil nil nil "jq"
 "f2" "mwm" nil nil nil nil "jq" "f2" "mwm" nil nil nil nil nil
 nil nil "f2" "mwm" nil nil nil nil nil nil nil nil nil nil nil
 nil nil nil nil)
(mqm_mq_quiy_element-mixed "nqn" "fq" nil "dwd" nil nil "iqi"
 "nqn" "fq" nil "dwd" nil "iqi" "nqn" nil nil "dwd" nil nil "iqi"
 "nqn" "fq" nil "dwd" nil nil "iqi" "nqn" "fq" nil "dwd" nil nil
 "iqi" "nqn" nil nil nil nil "dwd" nil nil nil nil nil nil nil
 nil nil nil nil nil nil nil nil)
(mqm_mq_quiy_element-base "iqi" "nqn" "rer" "hwh" nil "iqi" "iqi"
 "iqi" "nqn" "rer" "hwh" "iqi" "iqi" "iqi" nil nil "hwh" nil "iqi"
 "iqi" "iqi" "nqn" "rer" "hwh" nil "iqi" "iqi" "iqi" "nqn" "rer"
 "hwh" nil "iqi" "iqi" "iqi" "ge" "ge" "ge" "rer" "hwh" nil nil
 nil nil nil nil nil nil nil nil nil nil nil nil nil)
(q_uw "iqi-nqn" "nqn-fq_jq" "rer_f2" "hwh-dwd_mwm-xq" "lala" "iqi"
 "iqi-iqi" "iqi-nqn" "nqn-fq_jq" "rer_f2" "hwh-dwd_mwm-xq" "iqi 2000-12-01"
 "iqi-iqi 2001 11 02" "iqi-nqn 2002/10/03" "# nqn-fq_jq 2003 09 "
 "## rer_f2 Im a header with an annotation" "hwh-dwd_mwm-xq 2004 Im a header-date test"
 "lala" "iqi 2005/09 Im a bullet-date test" "iqi-iqi" "iqi-nqn"
 "nqn-fq_jq" "rer_f2" "hwh-dwd_mwm-xq" "lala" "iqi" "iqi-iqi"
 "iqi-nqn Tuesday 2030 03 03" "nqn-fq_jq" "rer_f2" "hwh-dwd_mwm-xq"
 "2009 10 lala date" "iqi" "iqi-iqi" "iqi-nqn" "gemini://icebreaker.space nqn-fq_jq"
 "gemini://icebreaker.space nqn-fq_jq a comment and annotation with uri"
 "gemini://icebreaker.space nqn-fq_jq 2022-06 a comment and annotation and date with uri"
 "rer_f2" "hwh-dwd_mwm-xq" "lala" "```" "block content" "block has no header content"
 "```" "``` im a block header" "block content" "block has no header content"
 "```" "``` iq im a block with annotation" "block content" "block has no header content"
 "```" "``` block header no block content" "```")

#State

Features of this parser will be merged (soon) into a similar parser for the format Koutliner.

As such, this repo will be given a lower priority (although it may become the recipient of upstream improvements

Please visit this repo instead:

qiuynonical

#Extra Information

gemtext-format

gemini-protocol

koutliner-format

emacs-hyperbole

qiuy

#Location

#Local Environment

~/1q20hqh_parsing/kqk_gemtext/kqk_kanban/oq_txr/

#Git-Forge

#HTTP

read-only https://git.sr.ht/~indieterminacy/1q20hqh_nq-rqr_kq_oq_parsing_kanban_gemtext_txr

#Git

read/write git@git.sr.ht:~indieterminacy/1q20hqh_nq-rqr_kq_oq_parsing_kanban_gemtext_txr

#Special Props

NLNet (for funding)

initiative-reference

HSBXL

homepage

#License

AGPL-3+

info

#Contact

https://matrix.to/#/#xq_icebreaker:matrix.org