Scrawl Can Rarely Automate With Little-effort
A portable, python-esque scripting language made in pure C.
Building should be universal on all platforms.
gcc src/*.c -o scrawl
There is no feeding in a file yet. That should be comming eventually.
Just run the command and a prompt will appear.
-
Operations: Addition, Subtraction, Multiplication
- Todo: Division, Order of Operations
-
Comparison: Less than, Greater than, Equal-to
- Todo: Equal-to versions
-
Blocks: if, while
- Todo: for, foreach (after data structures)
-
Built-in Functions: print, system
- Todo: Input
-
User-Defined Functions
-
Simple Data Structure: Array or List
- Array
- List
- TODO: Better Print
- TODO: Add actual identifier
-
Prove usability with Turing machine and other examples
-
General Rewrite
- Move functions out of parse.c
- General functions (allocate_strptr, free_strptr, clear_strptr)
- Checking functions (isbool, isnum...)
- Variable functions (initvar, getvar, copyvar)
- Remove repetition wherever applicable and practical
- Move functions out of parse.c