Hi Erik,
ABCL appears to remove a function definition that it incorrectly thinks is
unused. I've attached abcl-bug.lisp. Here is a transcript:
----
ABCL (fails)
VibhuMondrasMBP:Desktop vibhu$ abcl.sh
Armed Bear Common Lisp 1.3.1
Java 1.8.0_11 Oracle Corporation
Java HotSpot(TM) 64-Bit Server VM
Low-level initialization completed in 0.394 seconds.
Startup completed in 1.8 seconds.
Loading /Users/vibhu/.abclrc completed in 11.668 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (load "abcl-bug")
; Note: deleting unused local function LABELS =G
T
CL-USER(2): (sample2 1)
#<THREAD "interpreter" {4F4C3489}>: Debugger invoked on condition of type
UNDEFINED-FUNCTION
The function SAMPLE2 is undefined.
Restarts:
0: CONTINUE Try again.
1: USE-VALUE Specify a function to call instead.
2: RETURN-VALUE Return one or more values from the call to SAMPLE2.
3: TOP-LEVEL Return to top level.
[1] CL-USER(3):
----
CLISP (works)
VibhuMondrasMBP:Desktop vibhu$ clisp
;; Loading file /Users/vibhu/.clisprc ...
;; Loading file /Users/vibhu/quicklisp/setup.lisp ...
;; Loading file /Users/vibhu/quicklisp/ASDF.lisp ...
;; Loaded file /Users/vibhu/quicklisp/ASDF.lisp
;; Loaded file /Users/vibhu/quicklisp/setup.lisp
;; Loaded file /Users/vibhu/.clisprc
[1]> (load "abcl-bug")
;; Loading file /Users/vibhu/Desktop/abcl-bug.lisp ...
;; Loaded file /Users/vibhu/Desktop/abcl-bug.lisp
T
[2]> (bug)
1
[3]> (load "tco2")
;; Loading file /Users/vibhu/Desktop/tco2.lisp ...
;; Loaded file /Users/vibhu/Desktop/tco2.lisp
T
[4]> (sample2 1)
1
--
Bye,
Erik.
http://efficito.com -- Hosted accounting and ERP.
Robust and Flexible. No vendor lock-in.
ELS'15 - 8th European Lisp Symposium
Goldsmiths College, London, UK
April 20-21, 2015
http://www.european-lisp-symposium.org/
Sponsored by EPITA, Goldsmiths University of London, Franz Inc.,
Lispworks Ltd., Clozure Associates and Google
Recent news:
- A few seats left, still time to register!
- Programme now online (schedule may still change a little)
- Invited speakers announced: Zach Beane, Bodil Stokke, Martin Cracauer
The purpose of the European Lisp Symposium is to provide a forum for
the discussion and dissemination of all aspects of design,
implementation and application of any of the Lisp and Lisp-inspired
dialects, including Common Lisp, Scheme, Emacs Lisp, AutoLisp, ISLISP,
Dylan, Clojure, ACL2, ECMAScript, Racket, SKILL, Hop and so on. We
encourage everyone interested in Lisp to participate.
The 8th European Lisp Symposium features 3 invited talks, one tutorial,
4 technical sessions and 2 lightning talks slots. The full programme is now
available on the website: http://www.european-lisp-symposium.org/.
Programme chair:
Julian Padget, University of Bath, UK
Local chair:
Christophe Rhodes, Goldsmiths, University of London, UK
Programme committee:
Sacha Chua — Toronto, Canada
Edmund Weitz — University of Applied Scicences, Hamburg, Germany
Rainer Joswig — Hamburg, Germany
Henry Lieberman — MIT, USA
Matthew Flatt — University of Utah, USA
Christian Queinnec — University Pierre et Marie Curie, Paris 6, France
Giuseppe Attardi — University of Pisa, Italy
Marc Feeley — University of Montreal, Canada
Stephen Eglen — University of Cambridge, UK
Robert Strandh — University of Bordeaux, France
Nick Levine — RavenPack, Spain
Search Keywords:
#els2015, ELS 2015, ELS '15, European Lisp Symposium 2015,
European Lisp Symposium '15, 8th ELS, 8th European Lisp Symposium,
European Lisp Conference 2015, European Lisp Conference '15
--
My new Jazz CD entitled "Roots and Leaves" is out!
Check it out: http://didierverna.com/records/roots-and-leaves.php
Lisp, Jazz, Aïkido: http://www.didierverna.info
Commit 0030b89b2eb24b0b63b5f1ca4d4c9a7644eea02d breaks the maven JNA resolution:
(sly@cyruss-mbp):~/src/abcl$ ./abcl
Armed Bear Common Lisp 1.4.0-dev
Java 1.7.0_51 Oracle Corporation
Java HotSpot(TM) 64-Bit Server VM
Low-level initialization completed in 0.351 seconds.
Startup completed in 1.786 seconds.
Loading /Users/sly/.abclrc completed in 9.51 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (require 'abcl-contrib)
Using probed value of abcl-contrib:
'/Users/sly/src/abcl/dist/abcl-contrib.jar'.
Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/quicklisp/ to ASDF.
Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/mvn/ to ASDF.
Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/jss/ to ASDF.
Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/jfli/ to ASDF.
Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/asdf-jar/ to ASDF.
Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/asdf-install/ to ASDF.
Added jar:file:/Users/sly/src/abcl/dist/abcl-contrib.jar!/abcl-asdf/ to ASDF.
("ABCL-CONTRIB")
CL-USER(2): (require 'jna)
ARTIFACT_RESOLVING net.java.dev.jna:jna:pom:4.1.0
ARTIFACT_RESOLVED net.java.dev.jna:jna:pom:4.1.0 (/Users/sly/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.pom) @ central (http://repo1.maven.org/maven2/, releases+snapshots)
jnaASDF could not load because Java exception 'java.lang.NullPointerException'..
#<THREAD "interpreter" {4323B3D5}>: Debugger invoked on condition of type JAVA-EXCEPTION
Java exception 'java.lang.NullPointerException'.
Restarts:
0: RETRY Retry compiling #<ASDF/INTERFACE:MVN "jna" "net.java.dev.jna/jna/4.1.0">.
1: ACCEPT Continue, treating compiling #<ASDF/INTERFACE:MVN "jna" "net.java.dev.jna/jna/4.1.0"> as having been successful.
2: TOP-LEVEL Return to top level.
[1] CL-USER(3):
[1] CL-USER(4): :bt
0: (SYSTEM:BACKTRACE)
1: (INVOKE-DEBUGGER
#<JAVA-EXCEPTION java.lang.NullPointerException {1DA02950}>)
2: org.armedbear.lisp.Lisp.error(Lisp.java:382)
3: org.armedbear.lisp.Java$pf_jnew.execute(Java.java:581)
4: org.armedbear.lisp.Primitive.execute(Primitive.java:135)
5: (JNEW
#<java class org.eclipse.aether.resolution.DependencyRequest>
#<org.eclipse.aether.graph.DefaultDependencyNode net.java.dev.jna:jna:jar:4.1.0 (.... {60206C1}>
#<null {6F096BFB}>)
6: (ABCL-ASDF:RESOLVE-DEPENDENCIES "net.java.dev.jna" "jna" "4.1.0")
7: (#<FUNCTION {28D8442C}>
(#<ASDF/INTERFACE:MVN "jna" "net.java.dev.jna/jna/4.1.0">))
Any clues?
thanks,
Cyrus
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
A notice for those interested in my recent work in deploying ABCL as a WAR
binary artifact of [an update to abcl-servlet][1], which is where I am
collecting my ideas on implementation in an open source form.
After locating the ASDF ABCL-SERVLET/BUILD definition, one may
CL-USER> (abcl-servlet/prepare :hunchentoot)
to create necessary packaging of Hunchentoot and its transitive ASDF
dependences to [<file:hunchentoot/build/web/asdf/>][2] for merging into Java Servlet WAR
archives.
I’ve got a 100 Mib deployment WAR out of this system that has been running in
production for six months now, but comments on how to generalise are welcome.
[1]: https://bitbucket.org/easye/abcl-servlet/commits/e3bf36e015f2b5168d3e1d3d54…
[2]: https://bitbucket.org/easye/abcl-servlet/src/b0e7e5353d6c92a1990ed1bb5500be…
--
"A screaming comes across the sky. It has happened before but there is nothing
to compare to it now."
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Hi, I think maybe this topic has been covered before but
I wonder what's the state of the art. I want to have a Java
program load a compiled Lisp program contained in a jar
so that I can then call functions in the Lisp code.
For the record, the program in question is Maxima.
Calling Lisp functions worked fine when the compiled code
was unpacked (i.e. just in a directory) but I seem to recall
it is not simply a matter of packing it into a jar.
Or is it? Thanks for any advice.
best,
Robert Dodier
PS. I apologize in advance for any gross misunderstanding on my part.
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel(a)common-lisp.net
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Is there some way to find a private method and make it accessible, somewhat
like the way JSS can make a private field accessible?
Thanks!
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel(a)common-lisp.net
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Hi all,
ABCL does not seem to support tail call optimization right now. Are there any plans to provide this?
Best regards,
Ralf Moeller
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Hi, I'm trying ASDF-JAR again. I'm working with the svn trunk (current
revision 14736). Here's what I get:
CL-USER(1): (require 'asdf)
("uiop" "UIOP" "asdf" "ASDF")
CL-USER(2): (require 'abcl-contrib)
Using probed value of abcl-contrib:
'NIL'.
("ABCL-CONTRIB")
CL-USER(3): (require 'asdf-jar)
#<THREAD "interpreter" {13AD88B}>: Debugger invoked on condition of type SIMPLE-ERROR
Don't know how to REQUIRE ASDF-JAR.
I guess I'm doing something wrong?
Thanks for your help,
Robert Dodier
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel(a)common-lisp.net
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Sorry if this is a stupid question, but is there a way to install ABCL
in the standard sort of location (e.g., /usr/local/bin and
/usr/local/lib, etc.)?
I see that there's a copy of install-sh in the ABCL source, but I don't
see a way to invoke it. I looked with
find . \( -name '.git' -prune \) -o -type f -exec fgrep -q install-sh {}
\; -print
but didn't find anything.
I have lots of bleeding edge lisp implementations because of needing to
test ASDF, so was looking to figure out how to install using GNU stow
for easy rebuilding and testing.
[sorry if this is all handled by some Java thing like ant that I don't
understand.]
thanks,
r
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel(a)common-lisp.net
http://mailman.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel