I don't suppose it would be possible to have both spellings being valid ?
the different spelling of centre keeps tripping me up, I don't think it
should be changed but rather that both should be recognised as being the
same, maybe some kind of preprocessor that changes all the centres to
centers....
On 03/02/2018 11:28 PM, Chris Camacho wrote:
I don't suppose it would be possible to have both
spellings being valid ?
For the core language, I think the answer should be
no, not possible.
However if someone has an idea and enough time, it
might be possible to implement something like this
on the GUI level. Files should always be saved in
the normalized spelling as understood by the core
interpreter.
ciao,
Torsten.
However if someone has an idea and enough time, it
might be possible to implement something like this
on the GUI level.
If we eventually get intellisense, this'll be a non-problem.
--
Sent from: http://forum.openscad.org/
Troberg wrote
If we eventually get intellisense, this'll be a non-problem.
Use an external editor
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_an_external_Editor_with_OpenSCAD
, I use Notepad++ with autocomplete & syntax highlighting.
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
Sent from: http://forum.openscad.org/
This is the way of doom, as once this is accepted, why not have all
miss-spellings accommodated auto-magically by the interpreter and just
throw in a guess-o-meter for measurements as well to keep everyone happy.
Center is a mathematical concept of the equidistant point on a straight
line between two points.
Centre is a place that houses services in a central area in community.
Not too difficult to discriminate between?
Sorry to sound sarcastic, but really, they do not have the same
meaning. We have to accept "color" over here in good ol' Australia
instead of our time hono(u)red spelling of "colour", in all our
programming languages, and as we don't write the languages, why should
we expect that exception? Shouldn't we be grateful just to be able to
use the software? Even though color/colour are accepted as having the
same meaning, or should I be saying "there own meaning"????
Cheers, Rob
On 03/03/18 09:38, Torsten Paul wrote:
On 03/02/2018 11:28 PM, Chris Camacho wrote:
I don't suppose it would be possible to have both
spellings being valid ?
For the core language, I think the answer should be
no, not possible.
However if someone has an idea and enough time, it
might be possible to implement something like this
on the GUI level. Files should always be saved in
the normalized spelling as understood by the core
interpreter.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
from the oxford English dictionary
centre^1
noun
1The point that is equally distant from every point on the circumference
of a circle or sphere.
I could equally pedantically call center a misspelling which I made
pains NOT to do....
kindly don't be so racist about my native language ...
On 07/03/18 08:47, Rob Ward wrote:
This is the way of doom, as once this is accepted, why not have all
miss-spellings accommodated auto-magically by the interpreter and just
throw in a guess-o-meter for measurements as well to keep everyone happy.
Center is a mathematical concept of the equidistant point on a
straight line between two points.
Centre is a place that houses services in a central area in community.
Not too difficult to discriminate between?
Sorry to sound sarcastic, but really, they do not have the same
meaning. We have to accept "color" over here in good ol' Australia
instead of our time hono(u)red spelling of "colour", in all our
programming languages, and as we don't write the languages, why should
we expect that exception? Shouldn't we be grateful just to be able to
use the software? Even though color/colour are accepted as having the
same meaning, or should I be saying "there own meaning"????
Cheers, Rob
On 03/03/18 09:38, Torsten Paul wrote:
On 03/02/2018 11:28 PM, Chris Camacho wrote:
I don't suppose it would be possible to have both
spellings being valid ?
For the core language, I think the answer should be
no, not possible.
However if someone has an idea and enough time, it
might be possible to implement something like this
on the GUI level. Files should always be saved in
the normalized spelling as understood by the core
interpreter.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
I hoped not offend anybody, and don't believe I referenced any country
or personal origin apart from my own, and the common usage of the words
"center/centre" in Australia. What ever way my response can be
construed, look at the https://www.london-nano.com/ which is "The London
Centre for Nanotechnology", not "center", as an example. Even if they
can have identical meaning, at least "center" I believe is not ambiguous.
Otherwise, I will not add fuel to a spelling flame wars on this very
civil forum, so I am not contributing any further on this topic, I will
happily let others be the judge.
Cheers, Rob
On 07/03/18 19:52, Chris Camacho wrote:
from the oxford English dictionary
centre^1
noun
1The point that is equally distant from every point on the
circumference of a circle or sphere.
I could equally pedantically call center a misspelling which I made
pains NOT to do....
kindly don't be so racist about my native language ...
On 07/03/18 08:47, Rob Ward wrote:
This is the way of doom, as once this is accepted, why not have all
miss-spellings accommodated auto-magically by the interpreter and
just throw in a guess-o-meter for measurements as well to keep
everyone happy.
Center is a mathematical concept of the equidistant point on a
straight line between two points.
Centre is a place that houses services in a central area in community.
Not too difficult to discriminate between?
Sorry to sound sarcastic, but really, they do not have the same
meaning. We have to accept "color" over here in good ol' Australia
instead of our time hono(u)red spelling of "colour", in all our
programming languages, and as we don't write the languages, why
should we expect that exception? Shouldn't we be grateful just to be
able to use the software? Even though color/colour are accepted as
having the same meaning, or should I be saying "there own meaning"????
Cheers, Rob
On 03/03/18 09:38, Torsten Paul wrote:
On 03/02/2018 11:28 PM, Chris Camacho wrote:
I don't suppose it would be possible to have both
spellings being valid ?
For the core language, I think the answer should be
no, not possible.
However if someone has an idea and enough time, it
might be possible to implement something like this
on the GUI level. Files should always be saved in
the normalized spelling as understood by the core
interpreter.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
Rob Ward
Lake Tyers Beach, 3909
Lake Tyers Beach Website http://www.laketyersbeach.net.au
Ubuntu Mate - A great OS https://ubuntu-mate.org/
From the opposite side of the planet in the UK, I would also be very pleased to see a version of OpenSCAD which treated ‘centre’ and ‘center’ as equally valid. As a native English speaker, it’s frustrating when I accidentally spell it the ‘wrong’ way and have to correct…
I think this is different from, for example, translating the language to French or Mandarin, which would be out of scope.
Cheers,
Alex Gibson
+44 7813 810 765 @alexgibson3d 37 Royal Avenue, Reading RG31 4UR
admg consulting
edumaker limited
· Project management
· Operations & Process improvement
· 3D Printing
From: Discuss [mailto:discuss-bounces@lists.openscad.org] On Behalf Of Rob Ward
Sent: 07 March 2018 09:54
To: discuss@lists.openscad.org
Subject: Re: [OpenSCAD] request center==centre
I hoped not offend anybody, and don't believe I referenced any country or personal origin apart from my own, and the common usage of the words "center/centre" in Australia. What ever way my response can be construed, look at the https://www.london-nano.com/ which is "The London Centre for Nanotechnology", not "center", as an example. Even if they can have identical meaning, at least "center" I believe is not ambiguous.
Otherwise, I will not add fuel to a spelling flame wars on this very civil forum, so I am not contributing any further on this topic, I will happily let others be the judge.
Cheers, Rob
On 07/03/18 19:52, Chris Camacho wrote:
from the oxford English dictionary
centre^1
noun
1The point that is equally distant from every point on the circumference of a circle or sphere.
I could equally pedantically call center a misspelling which I made pains NOT to do....
kindly don't be so racist about my native language ...
On 07/03/18 08:47, Rob Ward wrote:
This is the way of doom, as once this is accepted, why not have all miss-spellings accommodated auto-magically by the interpreter and just throw in a guess-o-meter for measurements as well to keep everyone happy.
Center is a mathematical concept of the equidistant point on a straight line between two points.
Centre is a place that houses services in a central area in community.
Not too difficult to discriminate between?
Sorry to sound sarcastic, but really, they do not have the same meaning. We have to accept "color" over here in good ol' Australia instead of our time hono(u)red spelling of "colour", in all our programming languages, and as we don't write the languages, why should we expect that exception? Shouldn't we be grateful just to be able to use the software? Even though color/colour are accepted as having the same meaning, or should I be saying "there own meaning"????
Cheers, Rob
On 03/03/18 09:38, Torsten Paul wrote:
On 03/02/2018 11:28 PM, Chris Camacho wrote:
I don't suppose it would be possible to have both
spellings being valid ?
For the core language, I think the answer should be
no, not possible.
However if someone has an idea and enough time, it
might be possible to implement something like this
on the GUI level. Files should always be saved in
the normalized spelling as understood by the core
interpreter.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
Rob Ward
Lake Tyers Beach, 3909
Lake Tyers Beach Website http://www.laketyersbeach.net.au
Ubuntu Mate - A great OS https://ubuntu-mate.org/
Given how heated the discussion just got, I would like to re-center on
the technical side:
Am 02.03.2018 um 23:38 schrieb Torsten Paul:
....
For the core language, I think the answer should be
no, not possible.
However if someone has an idea and enough time, it
might be possible to implement something like this
on the GUI level. Files should always be saved in
the normalized spelling as understood by the core
interpreter.
ciao,
Torsten.
This and issue 2314 combined sound the me like things, that could in
theory be resolved by a "c preprocessor" or something a like (e.g. GPP
the "general-purpose preprocessor with customizable syntax").
If the user does not want to always write the same replacement
definitions, the user could make an include.
Off-course, integrating it would be hard (for e.g. error reporting), but
it is the most generalized solution.
A "middle ground" that we just support a subset of a general preprocessor.
Even a basic #DEFINE would cover the center/centre conflict:
#DEFINE centre center
Note that #DEFINE is not conflicting with the # modifier, as the define
is processed before any actual language interpretation.
I know that implementing that is hard (error reporting, test case,
corner case, "yet an other parser" ...), but it would give a lot of
power to openscad users.
WIth kind regards,
Michael Frey
On 2018-03-07 18:57, Michael Frey wrote:
Given how heated the discussion just got, I would like to re-center on
the technical side:
I am coming from a country of only 5 million with two official language
variants. We have slightly different spellings of the country name on
opposite sides of some bank notes (Norge/Noreg) :-)
If you go down this road I think it will never end. However if you
really want to try you could perhaps
let cube(100,center=true) take the alternative forms
cube(100,align='center') / cube(100,align='centre').
But then people might try things like cube(100,align='top') and expect
something meaningful.
Carsten Arnholm