File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ cd example-app
18
18
composer repl
19
19
```
20
20
21
- > For web projects: [ web-skeleton] ( https://github.com/phel-lang/web-skeleton )
21
+ > For web projects: [ web-skeleton] ( https://github.com/phel-lang/web-skeleton )
22
22
23
23
## Manual Setup
24
24
@@ -64,6 +64,8 @@ require __DIR__ . '/../vendor/autoload.php';
64
64
php -S localhost:8000 ./src/index.php
65
65
```
66
66
67
+ > 📘 [ More on running code] ( /documentation/cli-commands#run-a-script )
68
+
67
69
## REPL
68
70
69
71
``` bash
77
79
(println "Hello" name)
78
80
```
79
81
82
+ > 📘 [ More on REPL] ( /documentation/repl )
83
+
80
84
## Debugging
81
85
82
86
``` phel
@@ -91,26 +95,34 @@ return (require __DIR__ . '/phel-config.php')
91
95
->setKeepGeneratedTempFiles(true);
92
96
```
93
97
98
+ > 📘 [ More on debugging] ( /documentation/debug )
99
+
94
100
## Build & Deploy
95
101
96
102
``` bash
97
103
vendor/bin/phel build
98
104
php out/index.php
99
105
```
100
106
107
+ > 📘 [ More on build] ( /documentation/cli-commands/#build-the-project )
108
+
101
109
## Testing
102
110
103
111
``` bash
104
112
vendor/bin/phel test --filter foo
105
113
```
106
114
115
+ > 📘 [ More on testing] ( /documentation/testing )
116
+
107
117
## Handy Macros
108
118
109
119
``` phel
110
120
(when condition (println "if true"))
111
121
(-> {:name "Phel"} (:name) (str "Lang"))
112
122
```
113
123
124
+ > 📘 [ More on macros] ( /documentation/macros )
125
+
114
126
## Editor Support
115
127
116
128
- [ VSCode] ( https://github.com/phel-lang/phel-vs-code-extension )
You can’t perform that action at this time.
0 commit comments