Skip to content

Commit

Permalink
bumped to new version
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Oct 17, 2023
1 parent 80ea422 commit 52c0bda
Show file tree
Hide file tree
Showing 18 changed files with 1,604 additions and 1,310 deletions.
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.



## [1.10.46] - 2023-10-xx
## [1.10.46] - 2023-10-17

### Added

Expand Down
2,850 changes: 1,572 additions & 1,278 deletions cheatsheet.html

Large diffs are not rendered by default.

Binary file modified cheatsheet.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/maven-central.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions doc/readme/build-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

```groovy
dependencies {
compile 'com.github.jlangch:venice:1.10.45'
compile 'com.github.jlangch:venice:1.10.46'
}
```

Expand All @@ -16,7 +16,7 @@ dependencies {
<dependency>
<groupId>com.github.jlangch</groupId>
<artifactId>venice</artifactId>
<version>1.10.45</version>
<version>1.10.46</version>
</dependency>
</dependencies>
```
14 changes: 7 additions & 7 deletions doc/readme/execute-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
### Run a script

```text
foo> java -jar venice-1.10.45.jar -script "(+ 1 1)"
foo> java -jar venice-1.10.46.jar -script "(+ 1 1)"
=> 2
```

Expand All @@ -24,7 +24,7 @@ File "script.venice":
run:

```text
foo> java -jar venice-1.10.45.jar -file script.venice
foo> java -jar venice-1.10.46.jar -file script.venice
=> 19.634954084936208
```

Expand All @@ -43,7 +43,7 @@ File "script.venice":
run:

```text
foo> java -jar venice-1.10.45.jar -file script.venice 3
foo> java -jar venice-1.10.46.jar -file script.venice 3
=> 4
```

Expand Down Expand Up @@ -83,7 +83,7 @@ Files:
/users/foo/venice
├── script.venice
├── bin
│ └── venice-1.10.45.jar
│ └── venice-1.10.46.jar
└── scripts
└── test.venice
```
Expand All @@ -92,7 +92,7 @@ Run:

```text
foo> cd /users/foo/venice
foo> java -jar bin/venice-1.10.45.jar -file script.venice -loadpath "/users/foo/venice/scripts"
foo> java -jar bin/venice-1.10.46.jar -file script.venice -loadpath "/users/foo/venice/scripts"
```

The script loads "test.venice" from "/users/foo/venice/scripts/test.venice".
Expand All @@ -112,15 +112,15 @@ and works for executing scripts or files.
Run a script without upfront macro expansion:

```text
foo> java -jar venice-1.10.45.jar -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))"
foo> java -jar venice-1.10.46.jar -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))"
Elapsed time: 271,66 ms
=> 0
```

Run a scrip with upfront macro expansion:

```text
foo> java -jar venice-1.10.45.jar -macroexpand -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))"
foo> java -jar venice-1.10.46.jar -macroexpand -script "(time (reduce + (map (fn [x] (cond (< x 0) -1 (> x 0) 1 :else 0)) (range -10000 10001))))"
Elapsed time: 26,35 ms
=> 0
```
2 changes: 1 addition & 1 deletion doc/readme/ext-tomcat.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ REPL classpath:
libs/jakarta.annotation-api-2.1.1.jar
libs/jansi-2.4.0.jar
libs/tomcat-embed-core-10.1.1.jar
libs/venice-1.10.45.jar
libs/venice-1.10.46.jar
```


Expand Down
6 changes: 3 additions & 3 deletions doc/readme/multi-file-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ foo
├── billing.zip
└── libs
├── ...
└── venice-1.10.45.jar
└── venice-1.10.46.jar
```

It can be started from a terminal with

```shell
mars$ cd ~/foo
mars$ java -jar libs/venice-1.10.45.jar -app billing.zip
mars$ java -jar libs/venice-1.10.46.jar -app billing.zip
```

or
Expand Down Expand Up @@ -174,7 +174,7 @@ The billing application JAR may be deployed to a file structure like
foo
└── libs
├── billing.jar
├── venice-1.10.45.jar
├── venice-1.10.46.jar
└── openpdf-1.3.22.jar
```

Expand Down
2 changes: 1 addition & 1 deletion doc/readme/repl.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A Venice REPL (Read-Eval-Print Loop) is a programming environment which enables
you to run and test code interactively.

Start the REPL with `java -jar venice-1.10.45.jar -colors`
Start the REPL with `java -jar venice-1.10.46.jar -colors`

```text
venice> (+ 1 1)
Expand Down
2 changes: 1 addition & 1 deletion doc/readme/shell-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ A larger example that zips Tomcat log files on a monthly base:
;; -------------------------------------------------------------------------------
;; Zips the last month's Tomcat log files
;;
;; > java -jar venice-1.10.45.jar -file zip-tomcat-logs.venice ./logs
;; > java -jar venice-1.10.46.jar -file zip-tomcat-logs.venice ./logs
;; -------------------------------------------------------------------------------
(do
(defn tomcat-log-file-filter [prefix year month]
Expand Down
12 changes: 6 additions & 6 deletions doc/readme/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The Venice JAR published to Maven is compiled with Java 8. Nevertheless Venice i

### 2. Get the Venice JAR file

Download Venice from Maven: [Venice](https://search.maven.org/artifact/com.github.jlangch/venice/1.10.45/jar)
Download Venice from Maven: [Venice](https://search.maven.org/artifact/com.github.jlangch/venice/1.10.46/jar)


### 3. Start a Venice REPL (Read-Eval-Print Loop)
Expand All @@ -36,13 +36,13 @@ Open a terminal, move to the directory the Venice JAR is located, and start
a REPL:

```text
foo> java -jar venice-1.10.45.jar -colors
foo> java -jar venice-1.10.46.jar -colors
```

The REPL prompts for input:

```text
Venice REPL: V1.10.45
Venice REPL: V1.10.46
Loading REPL config from repl.json...
Type '!' for help.
venice>
Expand All @@ -66,13 +66,13 @@ Open a terminal, move to the directory the Venice and the 'jansi' JAR is located
and start a REPL:

```text
foo> java -cp venice-1.10.45.jar;jansi-2.4.0.jar com.github.jlangch.venice.Launcher -colors-darkmode
foo> java -cp venice-1.10.46.jar;jansi-2.4.0.jar com.github.jlangch.venice.Launcher -colors-darkmode
```

The REPL prompts for input:

```text
Venice REPL: V1.10.45
Venice REPL: V1.10.46
Loading REPL config from repl.json...
Type '!' for help.
venice>
Expand Down Expand Up @@ -101,7 +101,7 @@ Open a terminal, move to the directory the Venice JAR is located, and start
the REPL in setup mode:

```text
foo> java -jar venice-1.10.45.jar -setup -colors
foo> java -jar venice-1.10.46.jar -setup -colors
```

For a REPL run in a darkmode terminal use the option `-colors-darkmode` instead
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.10.46-SNAPSHOT
version=1.10.46
4 changes: 2 additions & 2 deletions src/main/java/com/github/jlangch/venice/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* <p>The launcher is configured as the Venice JAR's main-class.
*
* <p>Running scripts:
* <pre>java -jar venice-1.10.45.jar -script "(+ 1 1)"</pre>
* <pre>java -jar venice-1.10.46.jar -script "(+ 1 1)"</pre>
*
* <p>Running a REPL:
* <pre>
Expand Down Expand Up @@ -189,7 +189,7 @@ private static void printHelp() {
"The launcher is configured as the Venice JAR's main-class. \n" +
"\n" +
"Running scripts: \n" +
" java -jar venice-1.10.45.jar -script \"(+ 1 1)\" \n" +
" java -jar venice-1.10.46.jar -script \"(+ 1 1)\" \n" +
"\n" +
"Running a REPL: \n" +
" java \\ \n" +
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/license.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
VENICE SUBCOMPONENTS
-----------------------------------------------------------------------

The Venice Release 1.10.45 includes a number of subcomponents with
The Venice Release 1.10.46 includes a number of subcomponents with
separate copyright notices and license terms. The product that includes
this file does not necessarily use all the open source subcomponents
referred to below. Your use of the source code for these subcomponents
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/notice.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Venice Release 1.10.45
Venice Release 1.10.46

Copyright (c) 2017-2023 Venice

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/com/github/jlangch/venice/app.venice
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
to "billing.venice".

The app can be run from the command line as:¶
`> java -jar venice-1.10.45.jar -app billing.zip`¶
`> java -jar venice-1.10.46.jar -app billing.zip`¶
Venice reads the archive and loads the archive's main file.

Or with additional Java libraries (all JARs in 'libs' dir):¶
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/com/github/jlangch/venice/repl.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REM # --home
REM # |
REM # +-- libs
REM # | +-- repl.json
REM # | +-- venice-1.10.45.jar
REM # | +-- venice-1.10.46.jar
REM # |
REM # +-- scripts
REM # | +-- script-1.venice
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/com/github/jlangch/venice/repl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# |
# +-- libs
# | +-- repl.json
# | +-- venice-1.10.45.jar
# | +-- venice-1.10.46.jar
# |
# +-- scripts
# | +-- script-1.venice
Expand Down

0 comments on commit 52c0bda

Please sign in to comment.