Talk:S-expressions: Difference between revisions

Content added Content deleted
(→‎TCL native types: new section)
Line 193: Line 193:
(data (|!@#| (4.5) "[more" "data]")))</lang>
(data (|!@#| (4.5) "[more" "data]")))</lang>
and back?--[[User:EMBee|eMBee]] 09:49, 20 October 2011 (UTC)
and back?--[[User:EMBee|eMBee]] 09:49, 20 October 2011 (UTC)

== TCL native types ==

what would a native structure look like? i don't quite understand the comment: ''A “native” data structure could also be generated, but then that would turn things into lists that are not in the original.''
also, since tcl doesn't have a type system i think the tags are not really needed, except for the quotes.

since tcl doesn't need quotes for strings can't the structure be like:
{{data "quoted data" 123 4.5} {data {!@# {4.5} "(more" "data)"}}}
using " as part of the string value?--[[User:EMBee|eMBee]] 10:53, 3 November 2011 (UTC)