Metadata-Version: 2.4
Name: crossrun
Version: 1.0.0
Summary: Run code in multiple languages (bash, ruby, python, javascript) from Python.
Home-page: https://github.com/Inferno-God1001/crossrun
Author: Inferno-God1001
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# crossrun

Run code in multiple programming languages directly from Python.

## Installation

```bash
pip install git+https://github.com/Inferno-God1001/crossrun.git
```

## Supported Languages

| Language   | Command used |
|------------|-------------|
| bash       | bash        |
| ruby       | ruby        |
| python     | python      |
| javascript | node        |

## Usage

```python
from crossrun import set_code

# Run bash
output = set_code('bash', 'echo "Hello from bash"')
print(output)

# Run python
output = set_code('python', 'print("Hello from Python")')
print(output)

# Run javascript
output = set_code('javascript', 'console.log("Hello from JS")')
print(output)

# Run ruby
output = set_code('ruby', 'puts "Hello from Ruby"')
print(output)
```

## Special Syntax

crossrun supports a custom escaping syntax for quotes and braces:

| Syntax  | Replaced with |
|---------|--------------|
| `-,`    | `'`          |
| `-,,`   | `"`          |
| `*-,`   | `'''`        |
| `<;`    | `{`          |
| `;>`    | `}`          |

## License

MIT
