On 7 February 2012 05:34, Erik Christiansen <dva...@internode.on.net> wrote:

> let's have:
>
> Spindle On mode=CSS Speed=500
>
> Now the same verb can take different arguments:
>
> Spindle Off
>
> So that the programmer is dealing with a _language_ with perceptible
> structure, not just a great big pile of function calls to remember.

I can certainly see an advantage in an interpreter where every G-code
instruction maps to a one or two word phrase in English (and, for fun,
in French, Polish, German...)

Your suggestion goes a little further, in that "mode" and "speed" are
context-dependent in a way that S and F are not, but it seems that a
suitable lexer/parser/interpreter could cope.

One would have to guard against:
#<pindle> = 2000
S#<pindle>
if the alternative syntax of
pindle = 2000
Spindle
were allowed :-)

-- 
atp
The idea that there is no such thing as objective truth is, quite simply, wrong.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to