Skip to content

Commit 9b8d942

Browse files
committed
readme update
1 parent 63daacb commit 9b8d942

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# ScriptBasic for Java
22

3+
This project needs volunteers who read the outdated documentation and update it in Markdown or ASCIIDOC.
4+
If you consider contributing please fork the project and start writing documentation. I will happily credit.
5+
36
[![Build Status](https://travis-ci.org/verhas/jScriptBasic.svg?branch=master)](https://travis-ci.org/verhas/jScriptBasic)
47

58
ScriptBasic for Java is a BASIC interpreter that can be embedded into Java programs. With SB4J you can
69
script your application (or let the users to script) in good old BASIC. You can start in the JVM an
7-
interpreter and execute for example
10+
interpreter and execute for example:
811

912
```
1013
PRINT "hello, I am BASIC"
@@ -23,7 +26,7 @@ To embed the interpreter into your application you need to use SB4J as a depende
2326
<dependency>
2427
<groupId>com.scriptbasic</groupId>
2528
<artifactId>jscriptbasic</artifactId>
26-
<version>2.0.0</version>
29+
<version>2.1.1</version>
2730
</dependency>
2831
```
2932

@@ -32,7 +35,7 @@ and then use the JSR223 defined scripting interface or use the ScriptBasic speci
3235
The simplest way is to use the line
3336

3437
```
35-
ScriptBasic.getEngine().eval("PRINT \"hello world\"");
38+
ScriptBasic.engine().eval("PRINT \"hello world\"");
3639
```
3740

3841
to get an execution engine and `eval()` the program source. There are other possibilities. You can
@@ -43,7 +46,7 @@ The BASIC language contains all the usual BASIC features, subroutines, local and
4346
conditional statements, loops and so on. (No GOTO!) Your host program can directly call subroutines, read
4447
and write global variables, provide methods implemented in Java to be called from BASIC code.
4548

46-
The interpreter can safely be integrated to applications as the BASIC programs can not access
49+
The interpreter can safely be integrated to applications as the BASIC programs cannot access
4750
arbitrary objects and call Java methods at their will and there are other features that help
4851
controlling the scripts in the application. The language is a "no freak out" language, so you
4952
can put the programming possibility into the hands of users who would not ever touch Python, Groovy

0 commit comments

Comments
 (0)