Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Boris as a PHP REPL alternative. #39

Closed
WMeldon opened this issue Jul 9, 2013 · 1 comment
Closed

Using Boris as a PHP REPL alternative. #39

WMeldon opened this issue Jul 9, 2013 · 1 comment

Comments

@WMeldon
Copy link

WMeldon commented Jul 9, 2013

I was playing around with this and wanted to use Boris instead. After a couple small explosions to figure out how the settings worked, I found this to work when added to the user settings:

"worksheet_languages": {
    "PHP": {
        "cmd": "/path/to/boris",
        "prompt": ["(\\[[\\d]+\\]) (boris> | *\\*>)"],
        "error": ["PHP Parse error:", "PHP Fatal error"],
        "ignore": ["<\\?php", "\\?>"]
    }
}

Only real change was the prompt regex, which I still don't understand 100%. Not an issue per se, but I thought it might be useful to someone.

@jcartledge
Copy link
Owner

That's cool - I'll add it to the README. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants