[Ecls-list] Example of an standalone OS X application

Pascal J. Bourguignon pjb at informatimago.com
Sat Apr 6 20:20:51 UTC 2013


Anton Vodonosov <avodonosov at yandex.ru>
writes:

> I have been investigating whether ECL works on OS X and according to
> the project page, the OS X is not in the list of supported OSes.
>
> Good thing I remembered this announcement so I assume ECL works.
>
> BTW, as I don't have OS X, but it would be interesting to see some
> screenshots.

Is a text dump of my terminal enough for you?

[pjb at galatea :0.0 ~]$ ecl
;;; Loading #P"/opt/local/lib/ecl-12.12.1/cmp.fas"
To load "com.informatimago.common-lisp":
  Load 1 ASDF system:
    com.informatimago.common-lisp
; Loading "com.informatimago.common-lisp"
.
To load "com.informatimago.clmisc":
  Load 1 ASDF system:
    com.informatimago.clmisc
; Loading "com.informatimago.clmisc"

To load "alexandria":
  Load 1 ASDF system:
    alexandria
; Loading "alexandria"

ECL (Embeddable Common-Lisp) 12.12.1 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.  
Top level in: #<process TOP-LEVEL>.
> (print-bug-report-info)


LISP-IMPLEMENTATION-TYPE     "ECL"
LISP-IMPLEMENTATION-VERSION  "12.12.1"
SOFTWARE-TYPE                "Darwin"
SOFTWARE-VERSION             "11.4.2"
MACHINE-INSTANCE             "galatea.home"
MACHINE-TYPE                 "i386"
MACHINE-VERSION              NIL
*FEATURES*                   (:COM.INFORMATIMAGO.PJB :VT :BELL :TAB :BACKSPACE :PAGE :QUICKLISP :ASDF2 :ASDF
                              :ASDF-UNICODE :DARWIN :FORMATTER :ECL-WEAK-HASH :LITTLE-ENDIAN
                              :ECL-READ-WRITE-LOCK :LONG-LONG :UINT64-T :UINT32-T :UINT16-T
                              :RELATIVE-PACKAGE-NAMES :LONG-FLOAT :UNICODE :DFFI :CLOS-STREAMS :CMU-FORMAT
                              :ECL-PDE :DLOPEN :CLOS :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP
                              :IEEE-FLOATING-POINT :PREFIXED-API :FFI :I686 :COMMON :ECL)


> (with-open-stream (u (ext:run-program "uname" '("-a"))) (read-line u))

"Darwin galatea.home 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386"
NIL
> (with-open-stream (u (ext:run-program "hostinfo" '())) 
   (com.informatimago.common-lisp.cesarum.stream:copy-stream u *standard-output*))
Mach kernel version:
	 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 121 tasks, 478 threads, 2 processors
Load average: 1.57, Mach factor: 1.11
NIL
> 

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.





More information about the ecl-devel mailing list