Browse code

complete BML

AC75093375 authored on 29/05/2017 at 11:51:24
Showing 6 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
0
+# Hunt
1
+
2
+Hunt is a [tribune](/tribune.md) based game where [moules](/moules.md) can either:
3
+
4
+- launch a duck.
5
+- kill a duck.
6
+
7
+```
8
+2017-06-29T13:45:01 \_o<
9
+2017-06-29T13:45:02 2017-06-29T13:45:01 pan ! pan !
10
+```
0 11
\ No newline at end of file
... ...
@@ -1,3 +1,84 @@
1 1
 # BML
2 2
 
3
-TODO
4 3
\ No newline at end of file
4
+The [Bouchot](/bouchot.md) Markup Language is used to format [Posts](/post.md) body.
5
+
6
+## bigorno
7
+
8
+Bigorno is way to hail someone by adding a [LESS-THAN-SIGN](http://www.fileformat.info/info/unicode/char/3c/index.htm):
9
+
10
+```
11
+Dave< how are you?
12
+```
13
+
14
+[Coincoins](/coincoin.md) SHOULD hail user when a [post](/post.md) is received with his bigorno.
15
+
16
+## duck
17
+
18
+User can post an ascii art left or right ducks:
19
+
20
+```
21
+\_o< \_o<   >o_/
22
+```
23
+
24
+Ducks can have the following character as head:
25
+
26
+```
27
+oO0ô°øòó@
28
+```
29
+
30
+[Coincoins](/coincoin.md) COULD use ducks in [hunt](/hunt.md).
31
+
32
+## [norloge](/norloge.md)
33
+
34
+[Coincoins](/coincoin.md) SHOULD use norloges to display links or navigate between [posts](/post.md).
35
+
36
+## tags
37
+
38
+Tags are html like formatting markup.
39
+
40
+[Coincoins](/coincoin.md) SHOULD use tags to format [posts](/post.md).
41
+
42
+### a
43
+
44
+Same as [html5 a tag](https://www.w3schools.com/tags/tag_a.asp).
45
+
46
+This tag is optional for url.
47
+
48
+[Bouchots](/bouchot.md) and [Coincoin](/coincoin.md) SHOULD to url without a tag. 
49
+
50
+### i
51
+
52
+Same as [html5 i tag](https://www.w3schools.com/tags/tag_i.asp).
53
+
54
+### u
55
+
56
+Same as [html5 u tag](https://www.w3schools.com/tags/tag_u.asp).
57
+
58
+### s
59
+
60
+Same as [html5 s tag](https://www.w3schools.com/tags/tag_s.asp).
61
+
62
+### tt
63
+
64
+Same as [html5 tt tag](https://www.w3schools.com/tags/tag_tt.asp).
65
+
66
+### code
67
+
68
+Same as [html5 code tag](https://www.w3schools.com/tags/tag_code.asp).
69
+
70
+### others
71
+
72
+Other tag are forbidden.
73
+
74
+[Bouchots](/bouchot.md) and [Coincoin](/coincoin.md) MUST handle invalid tags. 
75
+
76
+## [totoz](/totoz.md)
77
+
78
+Reference a totoz name between /[:/ and /]/:
79
+
80
+```
81
+[:good]
82
+```
83
+
84
+[Coincoins](/coincoin.md) COULD display the referenced totoz image.
85
+
... ...
@@ -55,6 +55,8 @@ Free text related to posting [moule](../moules.md). Usually nickname or browser
55 55
 
56 56
 Message body in [BML](./legacy_bml.md) format.
57 57
 
58
+### tags encoded
59
+
58 60
 ## login
59 61
 
60 62
 Optional authenticated  user login.
... ...
@@ -4,8 +4,61 @@ Norloges are references to [post](/post.md).
4 4
 
5 5
 # Datetime based norloge
6 6
 
7
-TODO
7
+Reference norloge by time.
8
+
9
+## ISO
10
+
11
+yyyy-MM-dd'T'HH:mm:ss
12
+
13
+```
14
+2017-06-29T13:45:01 Shit!
15
+2017-06-29T13:45:02 What do you mean by 2017-06-29T13:45:01 ?
16
+```
17
+
18
+## long
19
+
20
+MM/dd'T'HH:mm:ss
21
+
22
+[Coincoins](/coincoin.md) SHOULD find the missing year by looking in the past.
23
+
24
+If not found in past, [Coincoins](/coincoin.md) COULD find the missing year by looking in the past.
25
+
26
+```
27
+2017-06-29T13:45:01 Shit!
28
+2017-06-29T13:45:02 What do you mean by 06/29#13:45:01 ?
29
+```
30
+
31
+## normal
32
+
33
+HH:mm:ss
34
+
35
+[Coincoins](/coincoin.md) SHOULD find the missing date by looking in the past.
36
+
37
+If not found in past, [Coincoins](/coincoin.md) COULD find the missing date by looking in the past.
38
+
39
+```
40
+2017-06-29T13:45:01 Shit!
41
+2017-06-29T13:45:02 What do you mean by 13:45:01 ?
42
+```
43
+
44
+## short
45
+
46
+HH:mm
47
+
48
+[Coincoins](/coincoin.md) SHOULD find the missing date and seconds by looking in the past.
49
+
50
+If not found in past, [Coincoins](/coincoin.md) COULD find the missing date and seconds by looking in the past.
51
+
52
+```
53
+2017-06-29T13:45:01 Shit!
54
+2017-06-29T13:45:02 What do you mean by 13:45 ?
55
+```
8 56
 
9 57
 # Id based norloge
10 58
 
11
-TODO
12 59
\ No newline at end of file
60
+Reference norloge by id prefixed by a [NUMBER SIGN](http://www.fileformat.info/info/unicode/char/0023/index.htm) char.
61
+
62
+```
63
+42: Shit!
64
+43: What do you mean by #42 ?
65
+```
13 66
new file mode 100644
... ...
@@ -0,0 +1,3 @@
0
+# Totoz
1
+
2
+An image or animation stored on a [totoz server](https://totoz.eu/). 
0 3
\ No newline at end of file
... ...
@@ -5,4 +5,12 @@ A tribune is web chat system used by [moules](/moules.md).
5 5
 Two tribune generations exist:
6 6
 
7 7
 - [legacy](/legacy/legacy_tribune.md)
8
-- [new](/new/new_tribune.md)
9 8
\ No newline at end of file
9
+- [new](/new/new_tribune.md)
10
+
11
+# Miscellaneous
12
+
13
+## Character encoding
14
+
15
+Every strings in every tribunes and subsystems MUST be valid UTF-8.
16
+
17
+[Bouchot](/bouchot.md) SHOULD be prepared to handle invalid UTF-8 strings.