[armedbear-devel] Several ABCL/Java questions
Didier Verna
didier at lrde.epita.fr
Tue Jan 4 09:28:16 UTC 2011
Hello,
I'm trying to port Clon[1] to ABCL, or at least figure out whether it
makes sense at all. My Java programming experience boils down to a Hello
World program 10 years ago or so, so some questions belong to the Java
side of ABCL for sure :-). I would be grateful if somebody can help me
answer these.
1/ Is it possible to create standalone ABCL executables and how ?
2/ ABCL doesn't seem to provide a [set|put]env function. From what I can
gather from the internet, that would be because there's no such thing
in Java. I've seen some nasty tricks around consisting in modifying
the (application-local) initial memory mapping of the environment,
but that's all. Is this correct ?
3/ It seems that ABCL does not have a complete MOP. In particular, I
couldn't find a validate-superclass function. Is this correct ? Does
this mean that classes/superclasses are implicitely "validated" ?
4/ There is a place where I need to access low-level information about a
stream in order to figure out whether it's connected to a tty, and in
that case, what's the tty line-width. In other implementations, I
have native support (or cffi support in the case of CLISP) for
calling ioctl with the TIOCGWINSZ argument. It either gets me the tty
line width or throws me an ENOTTY error in the face which is fine.
How can I do something similar in ABCL ?
Thank you very much !
Footnotes:
[1] http://www.lrde.epita.fr/~didier/software/lisp/clon.php
--
Resistance is futile. You will be jazzimilated.
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
More information about the armedbear-devel
mailing list