[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add \path markup command, and use it for \eyeglasses. (issue1730044
From: |
Han-Wen Nienhuys |
Subject: |
Re: Add \path markup command, and use it for \eyeglasses. (issue1730044) |
Date: |
Sat, 26 Jun 2010 12:10:39 -0300 |
On Sat, Jun 26, 2010 at 11:47 AM, Jan Nieuwenhuizen
<address@hidden> wrote:
> Op zaterdag 26-06-2010 om 00:06 uur [tijdzone +0000], schreef
> address@hidden:
>
>> Let me know what you think.
>
> It's getting there...
>
> This is not exactly what I had in mind
>
> + (if (or (eq? (caar commands) 'moveto)
> + (eq? (caar commands) 'rmoveto))
> + (let ((command (car commands)))
> + (begin
> I was thinking to let GUILE do that work using eval,
> look at this below
For small languages (like the stencil definitions or paths), explicit
checking might work well enough. See for example
write-system-signature in stencil.scm.
Also, if you use a module, where would you keep interpretation state
(eg. current-point) ?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Re: Add \path markup command, and use it for \eyeglasses. (issue1730044), pnorcks, 2010/06/21
- Re: Add \path markup command, and use it for \eyeglasses. (issue1730044), Carl . D . Sorensen, 2010/06/21
- Re: Add \path markup command, and use it for \eyeglasses. (issue1730044), hanwenn, 2010/06/22
- Re: Add \path markup command, and use it for \eyeglasses. (issue1730044), jan . nieuwenhuizen, 2010/06/22
- Re: Add \path markup command, and use it for \eyeglasses. (issue1730044), pnorcks, 2010/06/25
- Re: Add \path markup command, and use it for \eyeglasses. (issue1730044), Carl . D . Sorensen, 2010/06/26