Hi, this is a little programming language I been trying to make after reading a few books. it's a little stack language but with a few good features it works a little like the old Forth that were I got my idea from and decided it supports math operations like in forth or like the old HP calculators I not done much write up about it yet cos I still working on it but I left a few examples so you get an idea of how it works. list below is some features I added.
Work with variables. Not array support yet and all variables are global.
Work with strings and functions.
Print and read input from console.
Work with math operators and functions.
Loops
Goto
procedures now you can only call not return.
Work with files and folders.
Here is a little example I made you can look at it's a simple password generator.
Code:
# Tiny Password Generator
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" !mask
@mask len ToDbl !mask_len
"Enter length of password you want to make: " print readln ToDbl !pws_len
"Enter the amount of passwords to create: " print readln ToDbl !amount
sCrlf print
1 !x
outer:
0 !count
#inner loop to make the password
make_pws:
@count 1 + !count
0 @mask_len rnd !r
@mask @r ToDbl 1 mid print
@count @pws_len <
jmpnz make_pws
#Put a break line between each password.
sCrlf Print
@x 1 + !x
@amount @x >=
jmpnz outer
Exit
Download Source Code
AutoCmd.zip