Code center > Suggestions

Eventual improvements to DNA language

<< < (7/11) > >>

Botsareus:
The qustion in the poll is not exactly clear:

I though it was asking "Do we need stop in the current virsion of the dna script"

I abviosly voted no because:


--- Quote ---cond
blablalbala
start
blablalbala
stop
cond 'two words are annoying to write , just write cond is better
blablalbala
start
blablalbala
stop
end 'two words are annoying to write , just write end is better.
--- End quote ---

For that matter we dont need a "start" statement eather;

conditions are maid up of 3-4 parts and  the 3 part is always a < > ~= etc.
make the compiler check if the 3rd part is what it is, then make it execute the 3 words as condition or switch to instruction.

Altough in theory this will work too , for the user I think its easyer to see the "start" statments so lets leave it alone on that.

This means that writing the compilor will be a little more painfull, but my point is we should make it as mutch user frandly as possible, were ever there is a way to skip on some keywords: utilize that way please!

Numsgil:
The only real reason to require stops is to insist that the language follows a very easy and logical flow.

cond
blah
body
blah
cond
blah
else
blah
cond
blah
cond
blah

can get very confusing.  Requiring stops means you can easily see what the program is doing at any specific place, etc.

But since everyone seems to like the idea of getting rid of the requirement for stops altogether, I have no problem doing so.

Numsgil:
Then why didn't you vote so?  I don't make polls for my own amusement, I listen to what they say.

Numsgil:
I think you're confused.  The way it is now would be the first choice (sorta, cond doesn't require stop, but it does require start, so same idea).

The second choice eliminates the need for stops altogether, allowing genomes to be written:

cond
start

cond
start

const
start

etc.

So assuming you don't agree with the concensus, why would you vote for the concensus?

Botsareus:
I did vote... I voted for the second choise.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version