-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
83 lines (76 loc) · 2.55 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang = "en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, minimum-scale=1, user-scalable=0">
<title>Cantonese Community</title>
<link rel="stylesheet" href="style/style.css">
</head>
<body>
<div style="display: flex;">
<div style="max-width: 42em; margin: 0; padding: 0;">
<div style="display: flex;">
<img class="logo" src="img/logo.jpg">
<p style="margin-left: 20px; margin-top: 30px;">
粵語編程語言係乜? <br>佢係一門用粵語嚟同計算機溝通嘅編程語言<br>
喺呢隻语言度,計算機可以讀明你寫嘅粵語<br>所以話,你可以用粵語嚟操作(虐待)計算機。
</p>
</div>
<h4>⚡一隻簡單嘅語言</h4>
<ul>
<li>只要你識啲啲廣東話, 咁就可以直接上手coding</li>
<li>編譯器會提供智能嘅報錯訊息, 喺編譯時期幫你排除bug</li>
</ul>
<h4>⚡主要用途</h4>
<ul>
<li>方便地與Python互相調用, 為Python編寫擴展庫</li>
<li>必要時可開啓靜態編譯(llvm), 編寫高性能嘅程式</li>
<li>支持宏定義(macros), 儘可能喺編譯時期優化程式</li>
</ul>
<h4>⚡點樣安裝?</h4>
<code>
pip install cantonese
</code>
<h4>⚡源代碼</h4>
<a href="https://github.com/StepfenShawn/Cantonese/">https://github.com/StepfenShawn/Cantonese/</a>
<h4>⚡作者主頁</h4>
歡迎光臨小弟嘅網站: <br>
<a href="https://stepfenshawn.github.io/">https://stepfenshawn.github.io/</a>
</div>
<div style="margin-left: 150px;">
<pre>
______ __
/ ________ _____ / /_____ ____ ___ ________
/ / / __ `/ __ \/ __/ __ \/ __ \/ _ \/ ___/ _ \
/ /___/ /_/ / / / / /_/ /_/ / / / / __(__ / __/
\____/\__,_/_/ /_/\__/\____/_/ /_/\___/____/\___/
Cantonese PL Copyright (C) 2020-2024 StepfenShawn
</pre>
<h4>⚡示例</h4>
<pre><code style="display: block;">
介紹返 duck 係 乜X {
佢個老豆叫 object
佢有啲咩?? => {
性别: 公家嘢,
年龄: 私家嘢
}
佢識得 游下水 |自己| => {
畀我睇下 "Duck is swimming" 點樣先??
}
佢識得 睡下觉 |自己| => {
畀我睇下 "Duck is sleeping" 點樣先??
}
}
介紹返 myduck 係 阿->duck()
好心 |myduck -> 游下水| 啦
好心 |myduck -> 睡下觉| 啦
</code></pre>
<pre><code style="display: block;">
$ cantonese example.cantonese
Duck is swimming
Duck is sleeping
</code></pre>
</div>
</div>
</body>
</html>