The Browse Language
IMPORTANT: To use any of the scraping/web browser features, add
--web
when starting the browse repl or running a script
To install locally, simply run
npm i -g @browselang/cli
If you use VSCode, get the extension
code --install-extension pranaygp.browse-vscode
Hop into a browse repl
browse
Or execute a browse script
browse examples/basic/fibonacci.browse
There's a pre-build docker image available called pranaygp/browse that comes with browse and node preinstalled.
To hop into a browse repl, simply run
docker run --rm -it pranaygp/browse
Here's an example that can be run within this repo, that executes one of the example files
docker run --rm -it -v $(pwd)/examples:/examples pranaygp/browse /examples/fibonacci.browse