[RPL/2] How to draw anything ?

DEMAINE Benoit-Pierre benoit at demaine.info
Lun 16 Juil 17:58:40 CEST 2007


>> 'X' steq draw // Y=X
>> { "droite.eps" "postscript eps enhanced monochrome dashed" } LCD->
>> // create an EPS file with name: "droite.eps"

Would there be a way to have RPL CLI accept '//' as comment tag as weel
? I am used that most interpreters accept raw copy/paste of scripts
inside CLI, it's not the case of RPL:

dhp at moon_gen_2:~/documents/programmation/rpl$ rpl -is
+++RPL/2 version 4.00pre8w (Monday 07/16/07, 17:42:44 CEST)
+++Copyright (C) 1989 to 2006, 2007 BERTRAND Joël

+++This is a free software with absolutely no warranty.
+++For details, type 'warranty'.

+++'X' steq draw // Y=X

2: '//'
1: 'Y=X'
+++

> I will rebuild now (after gv install). Sounds it shall fix my issue.

Did not. Same problems as 1h ago.

*********************************************************

dhp at moon_gen_2:~/documents/programmation/rpl$ rpl -is
+++RPL/2 version 4.00pre8w (Monday 07/16/07, 17:42:44 CEST)
+++Copyright (C) 1989 to 2006, 2007 BERTRAND Joël

+++This is a free software with absolutely no warranty.
+++For details, type 'warranty'.

+++ 'X' steq draw
+++ { "droite.eps" "postscript eps enhanced monochrome dashed" } LCD->
+++print
+++Error : Empty printing spool queue
+++

************************************************************

"hello" pr1 print

produces a DVI file that contains "hello". This is fine.

*************************************************************

Some that may (or not) be related:

$ dvips  RPL2-22278-4.conv.dvi
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software
(www.radicaleye.com)
' TeX output 2007.07.16:1751' -> |lpr
<tex.pro><special.pro><color.pro>. [1] sh: lpr: command not found


dvipdf was OK for me.

May RPL depend on lpr for graphic view ?

(how to view a dvi without exporting ?)

-- 
 >o_/ DEMAINE Benoit-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would not have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)


Plus d'informations sur la liste de diffusion RPL2