freenode/#ecl - IRC Chatlog
Search
17:29:10
d3j
I've got a commandline parser in my program for a simple internal language displayed with bitmapped fonts. I want to be able to extend what I've got to double as a repl when i use the internal command line to send lisp commands to ECL
17:31:23
onion
i am not sure what i am going to do for this yet, possibly just hook in to emacs all the way, although i need font rendering and text support for my case
17:33:14
d3j
yeah like a text field frame. I'm coming to this all round about, it's only when I realized that my program was a lot like emacs that I got into lisp.
17:34:07
d3j
alternately I was thinking of setting up ECL for swank and then connecting to the embed via slime in emacs, but I'd like to have an integrated solution with what I've already got
17:38:13
onion
there is also swank for javascript in the browser, which is interesting. i wonder if your program could basically "support swank" like slime of emacs, and get some free features and possibilities
17:41:51
d3j
imgui looks pretty nice... i didn't know about it before. what I'm doing is built in sdl2
17:52:18
jackdaniel
heh: "Big thank you to Omar Cornut (ocornut@github) for his imgui library and giving me the inspiration for this library..", yes, I guess it is similar
17:59:36
jackdaniel
I'm afraid to give you advice you will literally execute, because that may not work due to some silly thing
18:00:34
onion
jackdaniel: what are you saying, ECL objects per character? or doing his C bitmap rendering in CL... ?
18:01:50
d3j
I've already got it so if I have a string, I can convert it to a bitmapped rendering of the string
18:02:34
d3j
I want to display the repl in my main gui, and that starts with a c string that I can render
18:33:27
d3j
it almost seems like it would be more straight forward to write to files and then open from the C side
18:37:15
jackdaniel
you may use the very same operations on duplicated descriptors (you may even create FILE* pointers from it)
18:57:37
d3j
I'm having trouble following the ecl_stream documentation. I'll come back to this later. Thanks for all the help so far
19:06:58
d3j
I think in my context if I get what you are suggesting, to redirect the stdout in the C enviornment, then all my debugging that goes stdout will get sent to the repl display
19:07:34
d3j
but when I turn off debug, that wouldn't matter, and it might be helpful in the meantime anyway...