jonpas / asel Goto Github PK
View Code? Open in Web Editor NEWAirsoft Explosive Language - Domain-Specific Language for easy simulated explosive creation
License: MIT License
Airsoft Explosive Language - Domain-Specific Language for easy simulated explosive creation
License: MIT License
var options = new Hashtable<String, String>()
options.put("org.eclipse.jdt.core.compiler.codegen.targetPlatform", "1.8")
options.put("org.eclipse.jdt.core.compiler.compliance", "1.8")
options.put("org.eclipse.jdt.core.compiler.source", "1.8")
var codeFormatter = ToolFactory.createCodeFormatter(options)
var textEdit = codeFormatter.format(CodeFormatter.K_COMPILATION_UNIT, result, 0, result.length(), 0, "");
.format
is for some reason unavailable except on deprecated createCodeFormatter()
method.
Call $ java -jar ASELStandalone.jar .
in Makefile
before platformio -f run
.
Some boards have LEDs or buttons HIGH
and LOW
reversed due to their wiring. Support this with some kind of a flag on the specific pin.
$ platformio init --ide eclipse --board «board»
Need to figure out how to call above with ProcessBuilder
after project has been generated.
var pb = new ProcessBuilder.inheritIO().command("platformio", "init", "--ide", "eclipse", "--board", '''«board»''');
pb.redirectOutput(Redirect.INHERIT);
pb.directory(new File("/home/..."));
pb.start();
Additionally change src_dir
to src-gen
.
$ platformio -f -c eclipse run
$ platformio -f -c eclipse run --target upload
Makefile reference:
BOARDS = lolin_d32
all:
platformio -f -c vim run
upload:
platformio -f -c vim run --target upload
clean:
platformio -f -c vim run --target clean
program:
platformio -f -c vim run --target program
uploadfs:
platformio -f -c vim run --target uploadfs
update:
platformio -f -c vim update
init:
platformio init --ide vim $(addprefix -b ,$(BOARDS))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.