<commit_before>## Running

<img width="70" align="right" style="margin: 0ex 1em" src="img/running.jpg">
You launch Planck by typing `planck` in a terminal.

You can also launch Planck using the `plk` script, which integrates with the [`clojure`](https://clojure.org/guides/getting_started) CLI tool to add support for `deps.edn` and classpath-affecting options such as `-Aalias`.

If you'd like to get help on the command line arguments to Planck, do

```
planck -h
```

or

```
plk -h
```

The command line arguments to Planck are heavily modeled after the ones available for the Clojure REPL. In particular, you can provide zero or more _init-opt_ arguments, followed by an optional _main-opt_ argument, followed by zero or more _arg_ arguments. Planck also accepts _long arguments_ (preceeded by two dashes), just like the Clojure REPL.

### Auto-loaded user code

When a Planck starts, it automatically loads any `user.cljs` or `user.cljc` 
file present on your classpath. This is an ideal location to place code
that is useful for development time.

The file may contain an `ns` form to load required namespaces or to establish 
the namespace for any `def` forms that appear in the file. If no namespace 
is specified, `cljs.user` is assumed.
 

### Compile Opts EDN

Many of the command line arguments may also supplied via **edn**, passed via `-co` / `--compile-opts`. Any opts passed via `-co` / `--compile-opts` are merged onto any base opts specified directly by command-line flags.

Also, note that it is possible to configure certain behaviors via `-co` / `--compile-opts` where there doesn't exist a direct command line flag.

Compile opts **edn** may be specified directly on the command line as in

```
plk --compile-opts '{:closure-defines {foo.core "bar"}}'
```

or by specifying a file, where an optional leading `@` means that the file should be read from the classpath as in:

```
plk --compile-opts @/my-compile-opts.edn
```

Options that may be configured via `-co` / `--compile-opts` comprise:

- [:checked-arrays](https://clojurescript.org/reference/compiler-options#checked-arrays)
- [:def-emits-var](https://clojurescript.org/reference/repl-options#def-emits-var)
- [:elide-asserts](https://clojurescript.org/reference/compiler-options#elide-asserts)
- [:fn-invoke-direct](https://clojurescript.org/reference/compiler-options#fn-invoke-direct)
- [:foreign-libs](https://clojurescript.org/reference/compiler-options#foreign-libs)
- [:libs](https://clojurescript.org/reference/compiler-options#libs)
- [:optimizations](https://clojurescript.org/reference/compiler-options#optimizations)
- [:repl-requires](https://clojurescript.org/reference/repl-options#repl-requires)
- [:source-map](https://clojurescript.org/reference/compiler-options#source-map)
- [:static-fns](https://clojurescript.org/reference/compiler-options#static-fns)
- [:verbose](https://clojurescript.org/reference/compiler-options#verbose)
- [:warnings](https://clojurescript.org/reference/compiler-options#warnings)
- [:warn-on-undeclared](https://clojurescript.org/reference/repl-options#warn-on-undeclared)
<commit_msg>c/e Running site page<commit_after>## Running

<img width="70" align="right" style="margin: 0ex 1em" src="img/running.jpg">
You launch Planck by typing `planck` in a terminal.

You can also launch Planck using the `plk` script, which integrates with the [`clojure`](https://clojure.org/guides/getting_started) CLI tool to add support for `deps.edn` and classpath-affecting options such as `-Aalias`.

If you'd like to get help on the command line arguments to Planck, do

```
planck -h
```

or

```
plk -h
```

The command line arguments to Planck are heavily modeled after the ones available for the Clojure REPL. In particular, you can provide zero or more _init-opt_ arguments, followed by an optional _main-opt_ argument, followed by zero or more _arg_ arguments. Planck also accepts _long arguments_ (preceeded by two dashes), just like the Clojure REPL.

### Auto-loaded user code

When a Planck starts, it automatically loads any `user.cljs` or `user.cljc` 
file present on your classpath. This is an ideal location to place code
that is useful for development time.

The file may contain an `ns` form to load required namespaces or to establish 
the namespace for any `def` forms that appear in the file. If no namespace 
is specified, `cljs.user` is assumed.
 

### Compile Opts EDN

Many of the command line arguments may also supplied via **edn**, passed via `-co` / `--compile-opts`. Any opts passed via `-co` / `--compile-opts` are merged onto any base opts specified directly by command-line flags.

Also, note that it is possible to configure certain behaviors via `-co` / `--compile-opts` where there doesn't exist a direct command line flag.

Compile opts **edn** may be specified directly on the command line as in

```
plk --compile-opts '{:closure-defines {foo.core/x "bar"}}' -r
```

or by specifying a file, where an optional leading `@` means that the file should be read from the classpath as in:

```
plk --compile-opts @/my-compile-opts.edn -r
```

Options that may be configured via `-co` / `--compile-opts` comprise:

- [:checked-arrays](https://clojurescript.org/reference/compiler-options#checked-arrays)
- [:def-emits-var](https://clojurescript.org/reference/repl-options#def-emits-var)
- [:elide-asserts](https://clojurescript.org/reference/compiler-options#elide-asserts)
- [:fn-invoke-direct](https://clojurescript.org/reference/compiler-options#fn-invoke-direct)
- [:foreign-libs](https://clojurescript.org/reference/compiler-options#foreign-libs)
- [:libs](https://clojurescript.org/reference/compiler-options#libs)
- [:optimizations](https://clojurescript.org/reference/compiler-options#optimizations)
- [:repl-requires](https://clojurescript.org/reference/repl-options#repl-requires)
- [:source-map](https://clojurescript.org/reference/compiler-options#source-map)
- [:static-fns](https://clojurescript.org/reference/compiler-options#static-fns)
- [:verbose](https://clojurescript.org/reference/compiler-options#verbose)
- [:warnings](https://clojurescript.org/reference/compiler-options#warnings)
- [:warn-on-undeclared](https://clojurescript.org/reference/repl-options#warn-on-undeclared)

{'fraction_non_alphanumeric': 0.12816404998397948, 'fraction_numerical': 0.001281640499839795, 'mean_word_length': 4.780555555555556, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 28, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '191340', 'n_tokens_mistral': 1990, 'n_tokens_neox': 1899, 'n_words': 615}