Herb is an interpreted language made in Java.
Dynamically typed and simple language, C and Javascript like syntax.
write "Hello World!";
write 5+2;
var a = 10;
var b = 20;
write a;
write b;
b = 50;
write b;
write b = 100;
var i = 0;
while (i < 10) { i = i + 1; write i;}
var c = 50;
var d = 50;
if (c == d) { write "Variable c is equal to variable d.";}
var e = 5;
var f = 10;
if (e != f) { write "Variable e is not equal to variable f.";}
for (var g = 0; g < 3;) { g = g + 1; write g;}
- Release.
- Fixes and more functions.
- Fixed interpreting stuff.
- One line block type.
- Fixes and more functions.
- More functions.
- Function added.
- Herb is Ready for use.
There is a file called TerminalRun.bat in the github repository.
TerminalRun.bat:
javac herbLang\herb\herb.java
java herbLang.herb.Herb
Remove java herbLang.herb.Herb
, if you don't want to run Herb straight away.