I haven't figured out a way, so I'm using `envsubst` as a templating engine for yaxim + bruno
nicoco
Thanks! I'll have a look.
Ge0rG
you might want to use jinja2 or some other templating engine that's already part of your build / packaging pipeline
Ge0rG
nicoco: for reference, here's my code: https://github.com/yaxim-org/yaxim/blob/master/rdf.sh
nicoco
I'm actually looking into simplifying my build/packaging tooling right now, so I'm not sure yet if I want to go down that road 🙂
Laurahas left
nicoco
Thanks for the link anyway, it's saved
Laurahas joined
larmahas joined
adxhas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
sponjihas joined
sponjihas left
Kelia Caesarhas joined
Kevhas joined
stuart.j.mackintoshhas joined
kapadhas joined
atomicwatchhas left
stuart.j.mackintoshhas left
sponjihas joined
atomicwatchhas joined
atomicwatchhas left
atomicwatchhas joined
atomicwatchhas left
sponjihas left
antranigvhas joined
stuart.j.mackintoshhas joined
antranigvhas left
sponjihas joined
pep.
nicoco, extend doap? :P
Dele Olajidehas joined
Ge0rG
use XSLT
Laurahas left
Laurahas joined
sponjihas left
Kelia Caesarhas left
pep.
Or that
Kelia Caesarhas joined
Kelia Caesarhas left
sponjihas joined
antranigvhas joined
sponjihas left
Kelia Caesarhas joined
atomicwatchhas joined
atomicwatchhas left
Kelia Caesarhas left
Kelia Caesarhas joined
Trunghas left
Trunghas joined
Laurahas left
sponjihas joined
Laurahas joined
antranigvhas left
FireFlyhas left
FireFlyhas joined
Kelia Caesarhas left
sponjihas left
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
sponjihas joined
atomicwatchhas joined
marc0shas left
marc0shas joined
Schimon_has left
Dele Olajidehas left
PapaTutuWawahas joined
Dele Olajidehas joined
sponjihas left
Maranda[x]has left
Maranda[x]has joined
techmetx11has left
Kelia Caesarhas joined
sponjihas joined
Kelia Caesarhas left
sponjihas left
antranigvhas joined
Mx2has left
Trunghas left
Trunghas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
techmetx11has joined
marc0shas left
marc0shas joined
kapadhas left
xnamedhas left
xnamedhas joined
marc0shas left
marc0shas joined
sponjihas joined
marc0shas left
marc0shas joined
sponjihas left
Maranda[x]has left
sponjihas joined
Maranda[x]has joined
Laurahas left
Laurahas joined
nicocohas left
Kelia Caesarhas joined
Peter Waher
Sidenote: XEP-0336 allows you to create dynamic XMPP-forms. One example would be to create UI that adapt to user input, by showing different controls/parameters depending on user input or context. https://xmpp.org/extensions/xep-0336.html✎
Peter Waher
Sidenote: XEP-0336 allows you to create dynamic XMPP-forms. One example would be to create UI that adapt to user input, by showing different controls/parameters depending on user input or context. https://xmpp.org/extensions/xep-0336.html ✏
Kelia Caesarhas left
Kelia Caesarhas joined
homebeachhas left
Matrix Traveler (bot)has left
homebeachhas joined
Matrix Traveler (bot)has joined
Kelia Caesarhas left
singpolyma
We've come close to looking at implementing that a few times. Likely will try eventually but we have a few other pain points that come up more often for now
I once wrote a Java decompiler in XSLT, to this day I consider it the worst thing I've ever done
singpolymahas left
singpolymahas joined
singpolyma
That sounds amazing
singpolyma
I'd like to see a second impl of xslt past 1.1 someday
larmahas left
wurstsalathas left
mrdoctorwhohas left
mrdoctorwhohas joined
nicocohas joined
Schimon_has joined
Guus
You wrote a Java decompiler in XSLT? As in, byte-code to Java source, using nothing but XSLT?
archiwistkaapokalipsyhas left
archiwistkaapokalipsyhas joined
Link Mauve
Using XEP-0239?
Kelia Caesarhas left
Kelia Caesarhas joined
flow
moparisthebest, what Guus asked
flow
plus "why?"
moparisthebest
Guus, flow: you really sent me digging, amazingly still there https://sourceforge.net/p/xmlvm/code/1322/
flow
but why?
Kelia Caesarhas left
moparisthebest
> XMLVM is an XML-based programming language build upon a virtual machine concept. Both Java and .NET byte code instructions can be mapped to XMLVM. XSL stylesheets allow manipulation of XMLVM such as cross-compilation to JavaScript for AJAX applications
Laurahas left
moparisthebest
I just added an XSLT transformation to Java, at the time it was the only decompiler that worked 100% even with obfuscation (because it produced terrible source code that pretty much emulated bytecode, each method is just a big switch so goto instructions work)
Laurahas joined
Kelia Caesarhas joined
marc0shas left
marc0shas joined
marc0shas left
marc0shas joined
atomicwatchhas left
marc0shas left
marc0shas joined
Schimon_has left
snowhas joined
Guus
am I reading this wrong, or is this a XMLVM-to-Java-source conversion?
flow
Guus, no java bytecode to xml xmlvm code
homebeachhas left
Matrix Traveler (bot)has left
homebeachhas joined
Matrix Traveler (bot)has joined
Kelia Caesarhas left
Guus
... Let me re-iterate your question: why?
xnamedhas left
PapaTutuWawahas left
xnamedhas joined
larmahas joined
atomicwatchhas joined
atomicwatchhas left
moparisthebest
Guus: it converts all sorts of inputs to "xmlvm" like Java and .net etc etc, then using XSLT converts that to all sorts of outputs, I just added the .java output :P
snowhas left
snowhas joined
atomicwatchhas joined
homebeachhas left
Matrix Traveler (bot)has left
atomicwatchhas left
homebeachhas joined
Matrix Traveler (bot)has joined
snowhas left
atomicwatchhas joined
atomicwatchhas left
Guustakes moparisthebest by the shoulders, shakes and with tears in his eyes, repeatedly cries: why?! why?!!
atomicwatchhas joined
atomicwatchhas left
Schimon_has joined
Schimon_has left
Kelia Caesarhas joined
moparisthebest
Guus: for me personally, to decompile heavily obfuscated proprietary Java :)