From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Scripting with TeXLua
Date: Fri, 27 Jan 2017 13:32:10 +0100 [thread overview]
Message-ID: <8B426D9F-8F48-46A8-B934-E849A4A4D153@fiee.net> (raw)
Ahoi, Moonshiners!
I rebuilt my invoice-writing setup and moved most of the logic from a python script to Lua within ConTeXt.
Now I would like to replace the Python script completely.
Can you suggest libraries that work well with texlua (or are even built-in), WRT
- OO classes (ATM I’m using "classy" from https://github.com/siffiejoe/lua-classy)
- UI (curses would be enough, maybe Qt, rather not wx. I found tekUI, but it won’t compile on OSX)
- JSON (ATM I’ve my customers database in a JSON file, but I should probably move that to a Lua table anyway.)
Regarding UI, maybe I could use some web forms and the infamous ConTeXt webserver.
Experiences anyone?
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2017-01-27 12:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8B426D9F-8F48-46A8-B934-E849A4A4D153@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).