https://github.com/trimorphdev/blueraspberry
A dynamically typed programming language.
https://github.com/trimorphdev/blueraspberry
Last synced: 3 months ago
JSON representation
A dynamically typed programming language.
- Host: GitHub
- URL: https://github.com/trimorphdev/blueraspberry
- Owner: trimorphdev
- License: mit
- Created: 2020-09-14T20:00:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T06:41:35.000Z (over 4 years ago)
- Last Synced: 2025-03-02T14:51:26.869Z (3 months ago)
- Language: C++
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
## What is Blue Raspberry?
Blue Raspberry is a hobby programming language inspired by multiple programming languages, but most strongly influenced by JavaScript/TypeScript and PHP.## Building
To get started with Blue Raspberry, you're going to have to build it from scratch (unless I decide to publish prebuild binaries, which probably won't happen in the immediate future). Luckily, I've made a build script to simplify the process of building the project. Unfortunately, using this build script does require Node.js, but I'm sure it would be easy to make a build script in a different programming language if you positively need to make a different build script.```sh
# Install Dependencies
npm install# Run build script
node build
```Now if you want to test if it has built correctly, you can run the following command:
```sh
# Windows
bin\blueraspberry tests\main# MacOS, Linux or pretty much anything that isn't Windows
bin/blueraspberry tests/main
```## Blue Raspberry VM
If you've copied the files from the `include` folder to your compiler's include path, you should now have access to Blue Raspberry's API, here's an example:```c++
#includevoid main() {
B1::Context context = B1::Context();
B1::Script scr = B1::Script("var x = 'test'", context, "filepath");// Run the script:
scr.run();
}
```