Difference between revisions of "Talk:OGP LLSD Draft 3"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
&a = { member1 : false, member2 : true, member3 : int }
&a = { member1 : false, member2 : true, member3 : int }


; What is the purpose of the $ symbol in maps? What do these statements mean?
; How is a parser supposed to handle this?
&b = { $ : bool }
&b = { $ : &b }
&b = { $ : "hello world" }
; Or this?
&c = { $ : &d }
&d = { $ : &c }


; The first variant is of the type uri. The second variant is of type string?
; The first variant is of the type uri. The second variant is of type string?
&c = uri
&e = uri
&c = "http://www.google.com/"
&e = "http://www.google.com/"


; Forward-slash seems like an odd addition to 0-9+A-Z. Why this character?
; Forward-slash seems like an odd addition to 0-9+A-Z. Why this character?
&_/ = undef</pre>
&f/ = undef</pre>
--[[User:Eddy Stryker|Eddy Stryker]] 07:52, 17 February 2009 (UTC)
--[[User:Eddy Stryker|Eddy Stryker]] 07:52, 17 February 2009 (UTC)

Latest revision as of 13:30, 18 February 2009

Some LLIDL questions:

; An LLSD value containing { member1 : true, member2 : true } comes in. Is member3 a string or an int?
&a = { member1 : true, member2 : false, member3 : string }
&a = { member1 : false, member2 : true, member3 : int }

; How is a parser supposed to handle this?
&b = { $ : &b }
; Or this?
&c = { $ : &d }
&d = { $ : &c }

; The first variant is of the type uri. The second variant is of type string?
&e = uri
&e = "http://www.google.com/"

; Forward-slash seems like an odd addition to 0-9+A-Z. Why this character?
&f/ = undef

--Eddy Stryker 07:52, 17 February 2009 (UTC)