From c773bf9b4241e1a81f30a6aad28e666ca456c0af Mon Sep 17 00:00:00 2001 From: jsaasta Date: Tue, 17 Sep 2024 11:18:05 +0200 Subject: [PATCH] Initial Home page --- Getting-Started.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Getting-Started.md diff --git a/Getting-Started.md b/Getting-Started.md new file mode 100644 index 0000000..5805eb0 --- /dev/null +++ b/Getting-Started.md @@ -0,0 +1,27 @@ +# Check out [Examples](insert_url) in the sidebar. + +## The simplest way to get started: +* [Download the .jar under releases](https://github.com/jsaasta/Froj/releases/tag/stable) +* Create file ``helloworld.froj`` with the contents below: + + print "Hello World"; + +* Run ``java -jar froj.jar ./helloworld.froj`` + + +## Build the .jar from source: + +### Makefile + +* cd to ``/src`` +* run``make compile`` + +### javac +* cd to `/src` +* run `javac -d ./ ./com/saasta/froj/*.java` +* run `jar -cfm froj.jar ./META-INF/MANIFEST.MF ./com/saasta/froj/*.class` +* Optional: Remove the .class files after creating the .jar: + * Linux: `rm -f ./com/saasta/froj/*.class` + * Windows(CMD): `del ./com/saasta/froj/*.class` + * Windows(PowerShell): `Remove-Item ./com/saasta/froj/*.class` +