This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-23
Channels
- # announcements (2)
- # babashka (25)
- # beginners (33)
- # biff (13)
- # calva (13)
- # clerk (82)
- # clj-commons (3)
- # clj-kondo (8)
- # clj-on-windows (23)
- # cljdoc (6)
- # clojure (16)
- # clojure-belgium (1)
- # clojure-dev (58)
- # clojure-europe (53)
- # clojure-nl (1)
- # clojure-norway (15)
- # clojure-uk (2)
- # clojurescript (17)
- # core-async (5)
- # cursive (6)
- # datahike (1)
- # datomic (8)
- # emacs (25)
- # etaoin (21)
- # events (4)
- # graalvm (33)
- # honeysql (7)
- # hyperfiddle (1)
- # lsp (49)
- # luminus (4)
- # malli (18)
- # off-topic (63)
- # reagent (11)
- # releases (1)
- # shadow-cljs (200)
- # timbre (1)
- # tools-build (17)
I'm looking to include https://github.com/jline/jline3 in a Graal-based Clojure project, but I'm running into an issue related to JNA: JNA: Problems loading core IDs: java.lang.Object
. I'm new to Graal and don't quite know where to begin troubleshooting. Any suggestions? Is Graal incompatible with JNA? There doesn't seem to be much in the way of documentation on the subject.
Graal is compatible with JNA. Here is a demo project: https://github.com/borkdude/jna-native-image-sci
just found https://github.com/phronmophobic/jna-native-image, too
@UABU2MMNW what are you making (if I may ask)?
This is a bit meta, but here is a recording (in asciinema) of me demoing hypo record
, which itself has recording capabilities: https://asciinema.org/a/TF1ygU1PU4oxG2msx7jpfmqnt
the ls with colors was just to test if asciinema could record colors, or did I misunderstand?
> the ls with colors was just to test if asciinema could record colors, or did I misunderstand? That was actually to prove (to myself) that I'm properly shuffling all bytes back and forth through hypo's PTY
in the recording, once 'hypo record' is run, hypo fires up a shell in a PTY and then proxies hypo's stdin / stdout to the shell process via the PTY
oh I thought hypo record
didn't work because of the logging messages, but now I get it. really cool :)
Just adding my 2 cents (late): I have a small graalvm-compiled tool I use that includes jline 2.x as a dependency - https://github.com/dekelpilli/cr2.0-encounter-calculator. I don’t know how transferrable it will be to jline3, but feel free to use it as a reference point if you’re still attempting this