Talk:S-expressions: Difference between revisions
Content added Content deleted
(→Existing Standards: Discussion of character syntax types in CL.) |
|||
Line 153: | Line 153: | ||
:::i don't know if it is necessary to make them completely independent steps, but i think it is a good idea to keep them separate enough to that for example the data handling is done by a function call and someone using the code can easily swap out the function with another one. i think the pike solution exemplifies this. |
:::i don't know if it is necessary to make them completely independent steps, but i think it is a good idea to keep them separate enough to that for example the data handling is done by a function call and someone using the code can easily swap out the function with another one. i think the pike solution exemplifies this. |
||
:::how can we write the task description to make this more clear?--[[User:EMBee|eMBee]] 01:51, 20 October 2011 (UTC) |
:::how can we write the task description to make this more clear?--[[User:EMBee|eMBee]] 01:51, 20 October 2011 (UTC) |
||
==How about concentrating on the example?== |
|||
How about ''not'' worrying too much about the fact that S-expressions are mentioned and concentrating on doing enough for a Rosetta Code task. |
|||
Remember - this shouldn't necessarily be code to be used, as-is, in some other project. There is an example given and, apart from the examples output being couched in terms of Python, there should be enough there: |
|||
* Here's an example S-expression, |
|||
* Here's what your intermediate format should look like, |
|||
* And the final full-circle output should look like the input (apart from whitespace maybe). |
|||
This would address all the talk here on formats, Lisp, escape characters, and what types of atoms are needed. You would need strings, integers, floats and a nestable list structure to put them in. |
|||
The task description might need some work on maybe taking the specific reference to Python out and instead explaining that it is a nestable native list structure, etc, etc, .... It could also do with stressing the importance of implementing the task example over any wider considerations. --[[User:Paddy3118|Paddy3118]] 03:52, 20 October 2011 (UTC) |