[OpenSCAD] Are All the Language Features in src/lexer.l and src/parsery.y

doug moen doug at moens.org
Sun Sep 2 18:42:07 EDT 2018


Oops, my local repo was out of date. "intersection_for" is now mentioned in
scadlexer.cpp.

On 2 September 2018 at 18:29, doug moen <doug at moens.org> wrote:

> scadlexer.cpp is not authoritative. I don't see "intersection_for", so at
> least that is missing.
>
> keywordSet[2] appears to be used for keywords used in doxygen comments, in
> case you happen to process your openscad source code using doxygen. These
> keywords are not part of openscad.
>
> On 2 September 2018 at 17:58, NateTG <nate-openscadforum at pedantic.org>
> wrote:
>
>> I've been wondering about the feasibility of writing an OpenSCAD
>> converter or
>> interpreter so I've been looking through the source to for the
>> specification
>> of the grammar and a comprehensive sense of built-in capabilities.  So far
>> I'm looking at:
>>
>> /src/lexer.l
>>
>> /src/parser.y
>>
>> for the grammar
>>
>> and
>>
>> /src/scadlexer.cpp
>>
>> for a list of "built-in" capabilities.
>>
>> Is that enough to give me a reasonably comprehensive list of stuff that's
>> in
>> the language?
>>
>> Also, I'm wondering what keywordSet[2] is for.  Can anyone tell me?
>>
>>
>>
>>
>>
>> --
>> Sent from: http://forum.openscad.org/
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> Discuss at lists.openscad.org
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20180902/629feeb8/attachment.html>


More information about the Discuss mailing list