embe
Embe is a programming language that compiles to mBlock Scratch code for the mBot2 robot.
NOTE: Due to some incompatibilities between the desktop and the web version of the mBlock IDE it is recommended to use the web version to display and run output files of embe.
Installation
Windows
Download and execute install.bat
.
macOS/Linux
Paste one of the following commands into a terminal window:
curl
curl -L https://raw.githubusercontent.com/juho05/embe/main/install.sh | bash
wget (in case curl is not installed)
wget -q --show-progress https://raw.githubusercontent.com/juho05/embe/main/install.sh -O- | bash
Uninstallation
To remove embe from your system run:
embe uninstall
Editor Support
Building
Prerequisites
git clone https://github.com/juho05/embe
cd embe
go build ./cmd/embe
go build ./cmd/embe-ls
License
Copyright (c) 2022-2023 Julian Hofmann
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.