Žinutės: 36
Kalba: English
ceigered (Rodyti profilį) 2009 m. rugpjūtis 4 d. 14:14:40

But seriously, can't hurt to try, and it'd be awesome to see most Vindozaj komputiloj with an arsenal of E++ programs onboard

Rogir (Rodyti profilį) 2009 m. rugpjūtis 4 d. 18:10:05

Pharoah (Rodyti profilį) 2009 m. rugpjūtis 4 d. 19:41:00
So, what do you think, comma or period?
EDIT:
After further reading, it seems like the comma is internationally accepted, so I'll be using that. Now to write a proof-of-concept interpreter in Python.
ceigered (Rodyti profilį) 2009 m. rugpjūtis 5 d. 06:45:59
Pharoah:Here's a question, what decimal format do you think I should use? My plan right now is to use the european form 123,456 which is technically the Esperanto standard. Thus, everything matching the regex "-?(d+,d*|d*,d+)" would be of type dekumo. On the other hand, this looks strange to me and it's rarely seen online.Does this mean you are using '123,450.9' or '123.450,9' (one-hundred-and-three-thousand-four-hundred-and-fifty decimal nine)?
So, what do you think, comma or period?
EDIT:
After further reading, it seems like the comma is internationally accepted, so I'll be using that. Now to write a proof-of-concept interpreter in Python.
(edit: i would have gone with the model '123,450.9' like with US and Australian standards because they seem most prominent to me in programming languages, forgive me if I'm wrong)
RiotNrrd (Rodyti profilį) 2009 m. rugpjūtis 6 d. 01:13:35
ceigered:... like with US and Australian standards because they seem most prominent to me in programming languages...Just like English is.

Pharoah (Rodyti profilį) 2009 m. rugpjūtis 6 d. 01:20:19
Rogir (Rodyti profilį) 2009 m. rugpjūtis 6 d. 14:19:50
Pharoah (Rodyti profilį) 2009 m. rugpjūtis 6 d. 14:25:50
'Kio estas via nomo? ' eligo skribu
enigo legu-linio
'Sal, ' eligo skribu
eligo skribu
ceigered (Rodyti profilį) 2009 m. rugpjūtis 6 d. 15:33:29
RiotNrrd:vi pravas, but this concerns that fine line between linguistic neutrality and mathematics... the one no one leaves from alive mwahahaceigered:... like with US and Australian standards because they seem most prominent to me in programming languages...Just like English is.
And Rogir that's what we do here in Australia often aswell but commas are used a lot in writing because it's hard to tell spaces apart. Or atleast that's my belief. The point being that I forgot that when writing my example because it's natural to use that here to avoid ambiguity (being an island no where near europe


And pharoah, good point, you never do use thousand seperaters do you?

simple way to classify things with the type system too

edit: Ne! vi forgesis 'saluton mondo'

Pharoah (Rodyti profilį) 2009 m. rugpjūtis 6 d. 15:51:32
And pharoah, good point, you never do use thousand seperaters do you? but you answered my actual question so I think i understand now. Could using ',' as the decimal point interfere at all though with listing variables or values or that kind of thing though? or do you plan on using another method for that kind of stuff?Ah, but Simpla is a stack based language like FORTH or Factor or PostScript. When the interpreter encounters a literal, it pushes it's value on the stack. Then when a function (called a word) requires values, it pops them from the stack.
something like stdout.write() becomes
eligo skribu
str() becomes
al-ĉeno
and so stdout.write(str(2+2)) becomes:
2 2 + al-ĉeno eligo skribu
Edit:
'Saluton, mondo!' eligo skribu-linio.
(Should this be skribu-linioN?)