-
nicoco
can a doap file extend another doap file?
-
Ge0rG
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 🙂
-
nicoco
Thanks for the link anyway, it's saved
-
pep.
nicoco, extend doap? :P
-
Ge0rG
use XSLT
-
pep.
Or that
-
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 ✏
-
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
-
Peter Waher
👍
-
moparisthebest
> use XSLT You have chosen... poorly ↺
-
moparisthebest
I once wrote a Java decompiler in XSLT, to this day I consider it the worst thing I've ever done
-
singpolyma
That sounds amazing
-
singpolyma
I'd like to see a second impl of xslt past 1.1 someday
-
Guus
You wrote a Java decompiler in XSLT? As in, byte-code to Java source, using nothing but XSLT?
-
Link Mauve
Using XEP-0239?
-
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?
-
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
-
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)
-
Guus
am I reading this wrong, or is this a XMLVM-to-Java-source conversion?
-
flow
Guus, no java bytecode to xml xmlvm code
-
Guus
... Let me re-iterate your question: why?
-
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
- Guus takes moparisthebest by the shoulders, shakes and with tears in his eyes, repeatedly cries: why?! why?!!
-
moparisthebest
Guus: for me personally, to decompile heavily obfuscated proprietary Java :)