Discussion:
GUI help for Lisp in Small Parts
David Johnson-Davies
2013-04-24 11:23:31 UTC
Permalink
Can anyone help?

I'm developing a beginner's Lisp tutorial called "Lisp in Small Parts". Currently it's designed to run with LispWorks, but I want to make it work with Clozure CL too as that's more easily available to beginners; eg from the Mac App Store.

The question is - are there equivalents to the CAPI GUI commands in Clozure CL? I need to create a Clozure CL version of this page "Creating Dialogue Boxes":

http://www.plasticki.com/show?HO

I've seen references to EasyGUI, but can't find any specifications.

Thanks,
David Johnson-Davies

+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.

Tel: +44 1223 314934, Fax: +44 1223 462562
Email: david-fDpYTK8McCy8qtKVGud/***@public.gmane.org, Web: http://www.interface.co.uk/
+------------------------------------------------------------+
Doug Currie
2013-04-24 14:15:35 UTC
Permalink
Hi David,

You should send your inquiry to:

Openmcl-devel <openmcl-devel-***@public.gmane.org>

This list is for MCL (not CCL) and hasn't had any MCL related traffic for a year or more.

e
Post by David Johnson-Davies
Can anyone help?
I'm developing a beginner's Lisp tutorial called "Lisp in Small Parts". Currently it's designed to run with LispWorks, but I want to make it work with Clozure CL too as that's more easily available to beginners; eg from the Mac App Store.
http://www.plasticki.com/show?HO
I've seen references to EasyGUI, but can't find any specifications.
Thanks,
David Johnson-Davies
+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.
Tel: +44 1223 314934, Fax: +44 1223 462562
+------------------------------------------------------------+
_______________________________________________
info-mcl mailing list
http://clozure.com/mailman/listinfo/info-mcl
--
Doug Currie, CTO
Parallel Simulation Technology LLC
5 Dartmouth Drive
Auburn, NH 03032 USA
Tel. 603-644-4500 main
Tel. 603-622-3749 x41 direct
Alexander Repenning
2013-04-24 14:21:10 UTC
Permalink
you examples could be done with XMLisp: http://code.google.com/p/xmlisp/

which runs with CCL on the Mac and Windows


alex
Post by David Johnson-Davies
Can anyone help?
I'm developing a beginner's Lisp tutorial called "Lisp in Small Parts". Currently it's designed to run with LispWorks, but I want to make it work with Clozure CL too as that's more easily available to beginners; eg from the Mac App Store.
http://www.plasticki.com/show?HO
I've seen references to EasyGUI, but can't find any specifications.
Thanks,
David Johnson-Davies
+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.
Tel: +44 1223 314934, Fax: +44 1223 462562
+------------------------------------------------------------+
_______________________________________________
info-mcl mailing list
http://clozure.com/mailman/listinfo/info-mcl
Prof. Alexander Repenning

University of Colorado
Computer Science Department
Boulder, CO 80309-430

vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
Harald Striepe
2013-04-24 15:57:55 UTC
Permalink
What is the level of sound support in XMLisp. It was not clear on the home page.
I am interested in using it for Algorithmic Composition delivering sound in real time.

It does not have to be suitable for Live Coding like impromptu or Extempore. Those systems are great, but lack the ccl style dev environment.

Thanks,
-- Harald
Post by Alexander Repenning
you examples could be done with XMLisp: http://code.google.com/p/xmlisp/
which runs with CCL on the Mac and Windows
alex
Post by David Johnson-Davies
Can anyone help?
I'm developing a beginner's Lisp tutorial called "Lisp in Small Parts". Currently it's designed to run with LispWorks, but I want to make it work with Clozure CL too as that's more easily available to beginners; eg from the Mac App Store.
http://www.plasticki.com/show?HO
I've seen references to EasyGUI, but can't find any specifications.
Thanks,
David Johnson-Davies
+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.
Tel: +44 1223 314934, Fax: +44 1223 462562
+------------------------------------------------------------+
_______________________________________________
info-mcl mailing list
http://clozure.com/mailman/listinfo/info-mcl
Prof. Alexander Repenning
University of Colorado
Computer Science Department
Boulder, CO 80309-430
vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
_______________________________________________
info-mcl mailing list
http://clozure.com/mailman/listinfo/info-mcl
Pascal J. Bourguignon
2013-04-25 20:41:51 UTC
Permalink
Post by David Johnson-Davies
Can anyone help?
I'm developing a beginner's Lisp tutorial called "Lisp in Small
Parts". Currently it's designed to run with LispWorks, but I want to
make it work with Clozure CL too as that's more easily available to
beginners; eg from the Mac App Store.
The question is - are there equivalents to the CAPI GUI commands in
Clozure CL?
AFAIK, there's no implementation of CAPI other than Lispworks.
It doesn't seem to be a free software library.


So if you wanted to use CAPI on CCL, you would have to implement it
anew.
Post by David Johnson-Davies
I need to create a Clozure CL version of this page
http://www.plasticki.com/show?HO
I've seen references to EasyGUI, but can't find any specifications.
Implementing GUI with CCL can be done using the Objective-C bridge and
Cocoa objects.

I'm sorry, but I learned Objective-C before lisp, so it's painful to me
to use Cocoa without the Objective syntax. So I implemented a few
reader macros, and I can do:

(ql:quickload :com.informatimago.objcl)
(objcl:enable-objcl-reader-macros)
(let ((alert [[NSAlert alloc] init]))
(unwind-protect
(progn
[alert addButtonWithTitle:@"OK"]
;; [alert addButtonWithTitle:@"Cancel"]
[alert setMessageText:@"The sum of 3 and 4 is 7."]
[alert setInformativeText:@"Ain't it great?"]
[alert setAlertStyle:#$NSWarningAlertStyle]
[alert runModal])
[alert release]))

Just use: https://developer.apple.com/library/mac/navigation/
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
Loading...