Is ZScript a (sort of) Lisp?
From: Anton N. Mescheryakov (targon_at_ihed.ras.ru)
Date: 09/28/04
- Next message: Andras Simon: "Re: Lisp newby: what is the shortest way to writing GUI lisp program on Windows?"
- Previous message: Adam Warner: "Re: How to prevent cdr from capitalizing symbols?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Sep 2004 02:26:10 -0700
Not a long ago I encountered an interesting 2D/3D program called
ZBrush[1]. Like every interesting program it has a scripting facility
called ZScript[2]. As I looked in some scripts I've found them /very/
familiar. Example:
[RoutineDef,ModeSet,
[If,[Var,TMode]=0,
[IPress,Transform:Edit Object]]
[If,[Var,TMode]=1,
[IPress,Transform:Edit Object]
[IPress,Transform:Move]]
[If,[Var,TMode]=2,
[IPress,Transform:Move]]
[If,[Var,TMode]=3,
[IPress,Transform:Scale]]
[If,[Var,TMode]=4,
[IPress,Transform:Rotate]]
]
(taken from the "Quad view" utility by Aurick).
They use square brackets instead of parentheses and comma rather than
whitespace. Not much of lambda but...
[1] http://pixologic.com
[2] http://pixologic.com/download/creating_zscripts/zs_coderef.html
- Next message: Andras Simon: "Re: Lisp newby: what is the shortest way to writing GUI lisp program on Windows?"
- Previous message: Adam Warner: "Re: How to prevent cdr from capitalizing symbols?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]