kwikius
kwikius
> `std::is_arithmetic` is probably more restrictive than one might like, considering that one can't add specializations. I'm guessing that was just a proxy for the actual concept you want, though....
From original example of how to use object_literals > my_object = { > a = 6; > b = { > f = function(x) x * x; > }; >...
built from https://github.com/openscad/openscad/tree/object-literals Get a syntax error on the first line. Should I be on a different branch? ``` o = { a = 6; c = a + 2;...
OK, I see there is an openscad object-literals branch. Apologies
so.. Is an object the same as a module or not? Is an object like a module but you cant put module_instantiations in it? ( If so why not?) Do...
> I think the terminology is confusing. An instantiation of a module makes a geometric object. It doesn't make something like a C++ object that has data members bound with...
Assuming I have the correct object_literals branch echo causes a syntax error ```openscad o ={ a = 1; echo( a = a); // syntax error }; ``` as does assert...
> Note that the last commit on this PR was in 2019. It took a while to get it to build !
> The syntax part of my proposal is the easy part. > > It adds a new entry to "primary": > > ``` > | '{' inner_input '}' > ```...
> Are there any comments on these proposed definitions? For the moment let's not talk about syntax details - let's just make sure we can use the same words for...