Created
December 29, 2021 09:22
-
-
Save riverstore/62591ec9a4176c834279923bf5b996b3 to your computer and use it in GitHub Desktop.
Compiler settings for Hyro on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__hint__: | |
- ~ All keys starting with _ will be ignored | |
- ~ Entries named like [foo], [foo].[bar] [foo].[baz] | |
- will be merged into one category. | |
- ~ A entry named [foo].[bar] will inhert all options | |
- defined in entry [foo] if not overwritten | |
- ~ code_file option defaults to foo.[name] | |
- ~ highlight option defaults to [name] | |
- ~ if highlight option was set, monaco option defaults | |
- to [highlight], otherwise defaults to [name] | |
- ~ Compiling be be ignored if compile option wasn't set | |
- ~ Key marked with a ? means the option is optional | |
- (name): | |
compile?: Compile Command | |
code_file?: Where to write code file when compiling | |
execute?: Command to execute the program | |
highlight?: PrismJS highlight mode | |
monaco?: Monaco editor mode | |
time_limit_rate: Time limit rate | |
target: Compiler output file | |
display: Display name | |
c: | |
compile: e:\\cygwin64\\bin\\gcc -Wall --std=c99 -o ${name} foo.c -lm | |
highlight: c astyle-c | |
monaco: cpp | |
display: C | |
execute: ${name} | |
target: code.exe | |
cc: | |
compile: e:\\cygwin64\\bin\\g++ -Wall -std=c++14 -o ${name}.exe foo.cc -lm | |
code_file: foo.cc | |
highlight: cpp astyle-c | |
monaco: cpp | |
display: C++ | |
cc.std98: | |
compile: e:\\cygwin64\\bin\\g++ -Wall -std=c++98 -o ${name} foo.cc -lm | |
display: C++ 98 | |
execute: ${name} | |
target: code.exe | |
cc.std11: | |
compile: e:\\cygwin64\\bin\\g++ -Wall -std=c++11 -o ${name}.exe foo.cc -lm | |
display: C++ 11 | |
cc.std14: | |
display: C++ 14 | |
cc.std17: | |
compile: e:\\cygwin64\\bin\\g++.exe -Wall -std=c++17 -o ${name}.exe foo.cc -lm | |
display: C++ 17 | |
pas: | |
compile: c:\\FPC\\3.0.4\\bin\\i386-win32\\fpc.exe -O2 -o${name} foo.pas | |
highlight: pascal | |
display: Pascal | |
execute: ${name} | |
target: code.exe | |
java: | |
compile: /usr/bin/javac -d ${dir} -encoding utf8 ./Main.java | |
code_file: Main.java | |
target: Main.class | |
execute: /usr/bin/java Main | |
time_limit_rate: 2 | |
highlight: java astyle-java | |
monaco: java | |
display: Java | |
py: | |
compile: >- | |
e:\\cygwin64\\bin\\python3.9.exe -c "import py_compile; py_compile.compile('foo.py', | |
'${name}', doraise=True)" | |
code_file: foo.py | |
execute: e:\\cygwin64\bin\\python3.9.exe ${name} | |
highlight: python | |
display: Python | |
py.py2: | |
display: Python 2 | |
py.py3: | |
compile: >- | |
e:\\cygwin64\\bin\\python3.9.exe -c "import py_compile; py_compile.compile('foo.py', '${name}', doraise=True)" | |
execute: e:\\cygwin64\\bin\\python3.9.exe ${name} | |
display: Python 3 | |
php: | |
execute: /usr/bin/php foo.php | |
display: PHP | |
rs: | |
compile: /usr/bin/rustc -O -o ${dir}/${name} ${dir}/foo.rs | |
highlight: rust | |
display: Rust | |
hs: | |
compile: /usr/bin/ghc -O -outputdir /tmp -o ${name} foo.hs | |
highlight: haskell | |
display: Haskell | |
js: | |
execute: /usr/bin/jsc ${dir}/foo.js | |
highlight: javascript | |
display: Javascript (JSC) | |
go: | |
compile: /usr/bin/go build -o ${name} foo.go | |
display: Golang | |
rb: | |
execute: /usr/bin/ruby foo.rb | |
highlight: ruby | |
display: Ruby | |
cs: | |
compile: /usr/bin/mcs -optimize+ -out:${dir}/${name} ${dir}/foo.cs | |
execute: /usr/bin/mono ${name} | |
highlight: csharp astyle-cs | |
monaco: csharp | |
display: Csharp | |
jl: | |
execute: /usr/bin/julia ${dir}/foo.jl | |
highlight: julia | |
display: Julia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only
C
,C++
,Free Pascal
,Python
are supported