mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Add support for the Spice programming language. Spice (`spicelang`) is a simple, AOT compiled, LLVM-based systems language with focus on practicality and performance. **Key features of Spice** - simplicity - see what you get aproach with batteries included - performance: As Spice uses LLVM as its primary backbone, it competes with the performance of other LLVM-based compilers - enhanced safety: Spice implements an enhanced safety mechanism, which includes builtin heap type with auto-free and more - cross-compile support: Currently x86_64, AArch64 and wasm32 are supported cross-compilation targets, but more to come - Pretty good C and C++ interop **Links** - Source code: https://github.com/spicelang/spice - Website: https://spicelang.com - Playground (own CE instance): https://play.spicelang.com - Infra PR: https://github.com/compiler-explorer/infra/pull/1229 **Things this PR addresses** - General support for Spice - Three code examples - Spice mode (Syntax highlighting) - Opt pipeline support - LLVM mca and osaca support
28 lines
732 B
Properties
28 lines
732 B
Properties
# Default settings for Spice
|
|
compilers=&spice
|
|
|
|
group.spice.compilers=spicedefault
|
|
group.spice.compilerCategories=spice
|
|
compiler.spicedefault.exe=/usr/bin/spice
|
|
compiler.spicedefault.name=spice default
|
|
|
|
compilerType=spice
|
|
defaultCompiler=spicedefault
|
|
versionFlag=--version
|
|
postProcess=
|
|
demangler=c++filt
|
|
demanglerType=cpp
|
|
objdumper=objdump
|
|
options=
|
|
supportsBinary=true
|
|
supportsBinaryObject=true
|
|
binaryHideFuncRe=^(_.*|call_gmon_start|(de)?register_tm_clones|frame_dummy|.*@plt.*)$
|
|
needsMulti=false
|
|
stubRe=\bmain\b
|
|
stubText=f<int> main(){return 0;/*stub provided by Compiler Explorer*/}
|
|
|
|
#################################
|
|
#################################
|
|
# Installed libs (See c++.amazon.properties for a scheme of libs group)
|
|
libs=
|