Skip to content

PHP CLI Batsh compiler #80

Open
Open
@shannah

Description

@shannah

I was unable to get batsh working on my machine, so I wrote a PHP CLI script to wrap the batsh compiler that you use for the sandbox at https://batsh.org

https://gist.github.com/shannah/cb89c4fcf0ddd52fe4ae91a547bbd5fa

Usage:

php batsh.php myscript.batsh

This will create a directory named "build" in the current directory, with myscript.sh and myscript.bat

Just posting it here in case someone finds it useful, or if you want to include this somewhere in the batsh repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions