Skip to content

unixpickle/pragmash

Repository files navigation

pragmash

pragmash is a simple, flexible scripting language. It is made to be dropped into other systems (i.e. build systems, scripting environments, etc.).

The runtime—if you can call it that—is up and running. I am now working to build up the standard library until the language is usable.

Installing

Pragmash has no external dependencies and can be installed very easily:

go get github.com/unixpickle/pragmash
go install github.com/unixpickle/pragmash/pragmash

Learning

To learn the syntax of pragmash, checkout SYNTAX.md.

To see the commands you can currently use in a pragmash program, see COMMANDS.md.

To see some pre-written example programs, see demo.

TODO

Here are the commands that I'd like to add:

  • File system manipulation functions
    • Chmod
    • Link
  • Time manipulation functions
    • Parse/format dates
  • Strings
    • Add escmatch command for match with escapes

Here are improvements I'd like to make to the tools and/or implementation:

  • Support up arrow in REPL

About

A pragmatic scripting language for simple tasks

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages