mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 01:19:23 -06: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
67 lines
2.3 KiB
TypeScript
67 lines
2.3 KiB
TypeScript
// Copyright (c) 2021, Compiler Explorer Authors
|
|
// All rights reserved.
|
|
//
|
|
// Redistribution and use in source and binary forms, with or without
|
|
// modification, are permitted provided that the following conditions are met:
|
|
//
|
|
// * Redistributions of source code must retain the above copyright notice,
|
|
// this list of conditions and the following disclaimer.
|
|
// * Redistributions in binary form must reproduce the above copyright
|
|
// notice, this list of conditions and the following disclaimer in the
|
|
// documentation and/or other materials provided with the distribution.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
// POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
import './ada-mode';
|
|
import './asm6502-mode';
|
|
import './asm-mode';
|
|
import './asmruby-mode';
|
|
import './c3-mode';
|
|
import './carbon-mode';
|
|
import './clean-mode';
|
|
import './cmake-mode';
|
|
import './cobol-mode';
|
|
import './cppcircle-mode';
|
|
import './cpp-for-opencl-mode';
|
|
import './cppfront-mode';
|
|
import './cppp-mode';
|
|
import './cppx-blue-mode';
|
|
import './cppx-gold-mode';
|
|
import './crystal-mode';
|
|
import './cuda-mode';
|
|
import './d-mode';
|
|
import './no-highlight-mode';
|
|
import './erlang-mode';
|
|
import './fortran-mode';
|
|
import './gccdump-rtl-gimple-mode';
|
|
import './haskell-mode';
|
|
import './hlsl-mode';
|
|
import './hook-mode';
|
|
import './hylo-mode';
|
|
import './ispc-mode';
|
|
import './jakt-mode';
|
|
import './llvm-ir-mode';
|
|
import './mlir-mode';
|
|
import './modula2-mode';
|
|
import './nc-mode';
|
|
import './nim-mode';
|
|
import './ocaml-mode';
|
|
import './openclc-mode';
|
|
import './ptx-mode';
|
|
import './spice-mode';
|
|
import './spirv-mode';
|
|
import './tablegen-mode';
|
|
import './v-mode';
|
|
import './vala-mode';
|
|
import './zig-mode';
|