mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
dict syntax; index & update mod parser; psyc-mode for emacs
This commit is contained in:
parent
eaeab8c226
commit
71866659f9
31 changed files with 2063 additions and 691 deletions
|
@ -1,4 +0,0 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
0
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
:_source psyc://foo.example.com/
|
||||
:_target psyc://bar.example.com/
|
||||
|
||||
:_foo 0
|
||||
_message_private
|
||||
OHAI
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
=_source psyc://foo/~bar
|
||||
:_target psyc://bar/~baz
|
||||
=_list_foo |foo|bar|baz
|
||||
:_tag sch1828hu3r2cm
|
||||
=_context psyc://foo/~bar
|
||||
|
||||
=_foo bar baz
|
||||
=_abc_def 11 ghi jkl
|
||||
|
||||
xq
|
||||
=_list_bar 36 3 foo|3 bar|7 foo
|
||||
bar|11 foo
|
||||
bar
|
||||
baz
|
||||
:_foo_bar yay
|
||||
_message_foo_bar
|
||||
ohai there!
|
||||
\o/
|
||||
=_list_xxx |=_foo|=_bar|=_baz|4 abc
|
||||
=_list_foo |=_foo|=_bar ||=_baz|
|
||||
=_list_foo _test|3 foo|=_color:4 blue|=_nick bar
|
||||
=_list_bar 43 |3 foo|=_color:4 blue|=_nick bar|8
|
||||
foo|bar
|
||||
=_list_bar 43 |3 foo|=_color:4 blue|=_nick bar|9
|
||||
foo|bar
|
||||
=_list_a _type| elem1| elem2| elem3
|
||||
=_list_b |=_type1 elem1|=_type2 elem2|=_type3 elem3
|
||||
=_list_members _uniform| psyc://example.net/~alice| psyc://example.org/~bob
|
||||
=_list_topic |9 democracy|3 now
|
||||
=_list_c | foo| bar|6 foobar|3 baz|=_int 234|=_time 1234
|
||||
=_list_foo |=_int 234|=_time 1234|=_picture:3 \o/|7 \oXoXo/
|
||||
_test_list
|
||||
|
|
||||
|
|
7
test/packets/02-list2
Normal file
7
test/packets/02-list2
Normal file
|
@ -0,0 +1,7 @@
|
|||
:_source psyc://foo/~bar
|
||||
:_target psyc://bar/~baz
|
||||
|
||||
=_list_foo _test|3 foo|=_color:4 blue|=_nick bar
|
||||
=_list_bar |3 foo|=_color:4 blue|=_nick bar
|
||||
_test
|
||||
|
|
11
test/packets/03-dict
Normal file
11
test/packets/03-dict
Normal file
|
@ -0,0 +1,11 @@
|
|||
=_context psyc://foo/~bar
|
||||
|
||||
=_dict _type{4 key1}6 value1{key2} value2{key3}6 value3{key4} value4
|
||||
=_dict_example {4 key1}=_type1:6 value1{key2}=_type2 value2{key3}6 value3{key4} value4
|
||||
=_struct_member |=_nick|=_picture
|
||||
=_dict_owners {psyc://example.net/~alice}{psyc://example.org/~bob}
|
||||
=_dict_members {psyc://example.net/~alice}=_struct_member | alice| \o/{psyc://example.org/~bob}=_struct_member | bob| \oXo/
|
||||
=_dict_members {25 psyc://example.net/~alice}=_struct_member:12 | alice| \o/{psyc://example.org/~bob}=_struct_member | bob| \oXo/
|
||||
=_dict_members _struct_member{25 psyc://example.net/~alice}12 | alice| \o/{psyc://example.org/~bob} | bob| \oXo/
|
||||
_test_dict
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
=_source psyc://foo/~bar
|
||||
:_target psyc://bar/~baz
|
||||
=_list_foo |foo|bar|baz
|
||||
:_tag sch1828hu3r2cm
|
||||
|
||||
?_test ignored
|
||||
=_foo bar baz
|
||||
=_abc_def 11 ghi jkl
|
||||
|
||||
xq
|
||||
=_list_bar 36 3 foo|3 bar|7 foo
|
||||
bar|11 foo
|
||||
b|r
|
||||
baz
|
||||
:_foo_bar yay
|
||||
=_amount_x 10
|
||||
_message_foo_bar
|
||||
ohai there!
|
||||
\o/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
:_list_understand_modules |_state|_fragments|_context
|
||||
:_list_understand_modules | _state| _fragments| _context
|
||||
|
||||
_request_features
|
||||
|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue