Skip to content

Scrawl Can Rarely Automate With Little-effort

Notifications You must be signed in to change notification settings

pawnlord/scrawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

scrawl

Scrawl Can Rarely Automate With Little-effort
A portable, python-esque scripting language made in pure C.

building

Building should be universal on all platforms.
gcc src/*.c -o scrawl

usage

There is no feeding in a file yet. That should be comming eventually.
Just run the command and a prompt will appear.

TODO

  • 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

About

Scrawl Can Rarely Automate With Little-effort

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages