purus 0.10.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-ja.md +14 -14
- package/README.md +14 -14
- package/package.json +6 -7
- package/pkg/lib/purus-compiler.js +3028 -2912
package/README-ja.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
[](https://purus.work)
|
|
4
4
|
|
|
5
|
-
[English](https://github.com/
|
|
5
|
+
[English](https://github.com/puruslang/purus#readme) | **日本語**
|
|
6
6
|
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
[](https://github.com/puruslang/purus/actions/workflows/ci.yml)
|
|
12
12
|
[](https://www.npmjs.com/package/purus)
|
|
13
13
|
[](https://www.npmjs.com/package/purus)
|
|
14
|
-
[](https://github.com/puruslang/purus/blob/main/LICENSE)
|
|
15
|
+
[](https://nodejs.org/)
|
|
16
16
|
[](https://marketplace.visualstudio.com/items?itemName=otoneko1102.purus)
|
|
17
|
-
[](https://github.com/puruslang/purus/pulse)
|
|
18
|
+
[](https://github.com/puruslang/purus/commits/main)
|
|
19
19
|

|
|
20
20
|

|
|
21
21
|
|
|
@@ -27,8 +27,8 @@ Purusは、 _Shiftキー_ をほとんど押さずにプログラミングでき
|
|
|
27
27
|
|
|
28
28
|
```purus
|
|
29
29
|
let name
|
|
30
|
-
name be
|
|
31
|
-
const message be
|
|
30
|
+
name be //;Purus;//
|
|
31
|
+
const message be //;Welcome to [name]!;//
|
|
32
32
|
console.log[message] -- Welcome to Purus!
|
|
33
33
|
```
|
|
34
34
|
|
|
@@ -63,18 +63,18 @@ npm install -D purus
|
|
|
63
63
|
|
|
64
64
|
## 貢献
|
|
65
65
|
|
|
66
|
-
ガイドは [コチラ](https://github.com/
|
|
66
|
+
ガイドは [コチラ](https://github.com/puruslang/purus/blob/main/CONTRIBUTING-ja.md) !
|
|
67
67
|
|
|
68
|
-
<a href="https://github.com/
|
|
69
|
-
<img src="https://contrib.rocks/image?repo=
|
|
68
|
+
<a href="https://github.com/puruslang/purus/graphs/contributors">
|
|
69
|
+
<img src="https://contrib.rocks/image?repo=puruslang/purus" />
|
|
70
70
|
</a>
|
|
71
71
|
|
|
72
72
|
Made with [contrib.rocks](https://contrib.rocks).
|
|
73
73
|
|
|
74
74
|
## 著者
|
|
75
75
|
|
|
76
|
-
otoneko. https://github.com/
|
|
76
|
+
otoneko. https://github.com/otnc
|
|
77
77
|
|
|
78
78
|
## ライセンス
|
|
79
79
|
|
|
80
|
-
Apache 2.0 ライセンスに基づいて配布されます。詳細については、[LICENSE](https://
|
|
80
|
+
Apache 2.0 ライセンスに基づいて配布されます。詳細については、[LICENSE](https://github.com/puruslang/purus/blob/main/LICENSE) を参照してください。
|
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
[](https://purus.work)
|
|
4
4
|
|
|
5
|
-
**English** | [日本語](https://github.com/
|
|
5
|
+
**English** | [日本語](https://github.com/puruslang/purus/blob/main/README-ja.md)
|
|
6
6
|
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
[](https://github.com/puruslang/purus/actions/workflows/ci.yml)
|
|
12
12
|
[](https://www.npmjs.com/package/purus)
|
|
13
13
|
[](https://www.npmjs.com/package/purus)
|
|
14
|
-
[](https://github.com/puruslang/purus/blob/main/LICENSE)
|
|
15
|
+
[](https://nodejs.org/)
|
|
16
16
|
[](https://marketplace.visualstudio.com/items?itemName=otoneko1102.purus)
|
|
17
|
-
[](https://github.com/puruslang/purus/pulse)
|
|
18
|
+
[](https://github.com/puruslang/purus/commits/main)
|
|
19
19
|

|
|
20
20
|

|
|
21
21
|
|
|
@@ -27,8 +27,8 @@ With Purus, you can write code almost without pressing the _Shift key_.
|
|
|
27
27
|
|
|
28
28
|
```purus
|
|
29
29
|
let name
|
|
30
|
-
name be
|
|
31
|
-
const message be
|
|
30
|
+
name be //;Purus;//
|
|
31
|
+
const message be //;Welcome to [name]!;//
|
|
32
32
|
console.log[message] -- Welcome to Purus!
|
|
33
33
|
```
|
|
34
34
|
|
|
@@ -63,18 +63,18 @@ The documentation is available on [purus.work](https://purus.work).
|
|
|
63
63
|
|
|
64
64
|
## Contribute
|
|
65
65
|
|
|
66
|
-
The guide is [here](https://github.com/
|
|
66
|
+
The guide is [here](https://github.com/puruslang/purus/blob/main/CONTRIBUTING.md)!
|
|
67
67
|
|
|
68
|
-
<a href="https://github.com/
|
|
69
|
-
<img src="https://contrib.rocks/image?repo=
|
|
68
|
+
<a href="https://github.com/puruslang/purus/graphs/contributors">
|
|
69
|
+
<img src="https://contrib.rocks/image?repo=puruslang/purus" />
|
|
70
70
|
</a>
|
|
71
71
|
|
|
72
72
|
Made with [contrib.rocks](https://contrib.rocks).
|
|
73
73
|
|
|
74
74
|
## Author
|
|
75
75
|
|
|
76
|
-
otoneko. https://github.com/
|
|
76
|
+
otoneko. https://github.com/otnc
|
|
77
77
|
|
|
78
78
|
## License
|
|
79
79
|
|
|
80
|
-
Distributed under the Apache 2.0 License. See [LICENSE](https://github.com/
|
|
80
|
+
Distributed under the Apache 2.0 License. See [LICENSE](https://github.com/puruslang/purus/blob/main/LICENSE) for more information.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Purus - /ˈpuː.rus/ means pure✨ in Latin - is a beautiful, simple, and easy-to-use language. It compiles to JavaScript. It makes your fingers free from the Shift key. With Purus, you can write code almost without pressing the Shift key.",
|
|
5
5
|
"main": "pkg/index.js",
|
|
6
6
|
"module": "pkg/index.mjs",
|
|
@@ -46,22 +46,21 @@
|
|
|
46
46
|
"purus",
|
|
47
47
|
"noshift"
|
|
48
48
|
],
|
|
49
|
-
"author": "
|
|
49
|
+
"author": "otoneko. (https://github.com/otnc)",
|
|
50
50
|
"license": "Apache-2.0",
|
|
51
51
|
"repository": {
|
|
52
52
|
"type": "git",
|
|
53
|
-
"url": "https://github.com/
|
|
54
|
-
"directory": "core"
|
|
53
|
+
"url": "https://github.com/puruslang/purus"
|
|
55
54
|
},
|
|
56
55
|
"bugs": {
|
|
57
|
-
"url": "https://github.com/
|
|
56
|
+
"url": "https://github.com/puruslang/purus/issues"
|
|
58
57
|
},
|
|
59
58
|
"funding": {
|
|
60
|
-
"url": "https://github.com/sponsors/
|
|
59
|
+
"url": "https://github.com/sponsors/otnc"
|
|
61
60
|
},
|
|
62
61
|
"homepage": "https://purus.work",
|
|
63
62
|
"engines": {
|
|
64
|
-
"node": ">=
|
|
63
|
+
"node": ">=22"
|
|
65
64
|
},
|
|
66
65
|
"devDependencies": {
|
|
67
66
|
"prettier": "^3.8.1"
|