Accueil › Forums › Programmation WIMS › Programmation d’exercices OEF › caratére underscore dans maxima › Répondre à : caratére underscore dans maxima
24 mai 2014 à 08:26
#2226
Participant
::
Hi, there are a « few » ways to ‘escape to lisp’ from the maxima commandline.
the simplest, being to_lisp();
joke@zondag /home/joke : maxima
Maxima 5.31.3 http://maxima.sourceforge.net
using Lisp SBCL 1.1.12
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) to_lisp();
Type (to-maxima) to restart, ($quit) to quit Maxima.
MAXIMA> (open "/etc/passwd")
#<SB-SYS:FD-STREAM for "file /etc/passwd" {1005CFC9D3}>
MAXIMA> (with-open-file (stream "/etc/passwd")(read-line stream))
"# $FreeBSD: release/10.0.0/etc/master.passwd 256366 2013-10-12 06:08:18Z rpaulo $"
NIL
and lisp in turn has full potential of accessing the complete system…