>
> By slapping a conventional-syntax parser on Scheme, and changing
> a few keywords, you can get a version of Scheme with a syntax like
> this:
>
> proc min(a, b)
> {
> if (a < b)
> then a;
> else b;
> }
>
> or this:
>
> proc min(a, b)
> (a < b) ? a : b;
>
> depending on how much of a terseness fanatic you are.
>
I know of at least one major piece of commercial software which does this;
ViewLogic Powerview, an Electronic Design Automation package.
They use a Scheme system to glue together the C code in their CAD software,
some of the code being written in Scheme (ViewSCM I think they called it) but a
sizeable portion written in ViewScript, which has a very C like syntax but runs
on top of the Scheme engine. Also, calls to functions called cons() and list()
are dead giveaways. It is also quite reminiscent of Guile's CTAX C like front
end.
Also, I believe the CAD Framework Initiative has mandated Scheme as their
scripting language of choice.
> --
> | Paul R. Wilson, Comp. Sci. Dept., U of Texas @ Austin
> (wilson@cs.utexas.edu) | Papers on memory allocators, garbage collection,
> memory hierarchies, | persistence and Scheme interpreters and compilers
> available via ftp from | ftp.cs.utexas.edu, in pub/garbage (or
> http://www.cs.utexas.edu/users/wilson/)
Regards
M.Beach
|