mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 07:04:04 -05:00
<img width="1405" height="474" alt="Clojure in Compiler Explorer 2" src="https://github.com/user-attachments/assets/76dfed9b-d0eb-4764-b371-9c6023088a50" /> With Macro Expansion: <img width="1642" height="594" alt="image" src="https://github.com/user-attachments/assets/8b511af9-3617-426e-868d-5a99e5db5756" /> TODO - [x] Language configuration - [x] Compile via wrapper - Inject namespace if necessary to simplify minimal code sample - Parse Unix style command line parameters into compiler bindings - Place file in path according to namespace - [x] Install some versions of Clojure [PR here](https://github.com/compiler-explorer/infra/pull/1849) - [x] Macroexpansion view (modeled on Rust macro expansion view) - [x] Filter out command line options that would break wrapper operation - [x] ~~Parse `--help` output to a list of options~~ Reverted because not applicable. - [x] Short form compiler options - [x] Support Clojure compiler settings via env var, like `JAVA_OPTS=-Dclojure.compiler.direct-linking=true -Dclojure.compiler.elide-meta=[:doc,:file]` NOT DOING - [x] ~~Support loading dependencies~~ Non-trivial enhancement. Not necessary for initial release. --------- Co-authored-by: Matt Godbolt <matt@godbolt.org>
478 lines
12 KiB
YAML
478 lines
12 KiB
YAML
'ui':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'static/**/*'
|
|
- 'views/**/*'
|
|
|
|
'lang-ada':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/ada.ts'
|
|
- 'etc/config/ada.*.properties'
|
|
- 'static/modes/ada-mode.ts'
|
|
|
|
'lang-algol68':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/gac.ts'
|
|
- 'etc/config/algol68.*.properties'
|
|
|
|
'lang-android-java':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/d8.ts'
|
|
- 'etc/config/android-java.*.properties'
|
|
|
|
'lang-android-kotlin':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/d8.ts'
|
|
- 'etc/config/android-kotlin.*.properties'
|
|
|
|
'lang-asm':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/assembly.ts'
|
|
- 'lib/compilers/nasm.ts'
|
|
- 'lib/compilers/ptxas.ts'
|
|
- 'etc/config/assembly.*.properties'
|
|
- 'static/modes/asm-mode.ts'
|
|
- 'static/modes/asm6502-mode.ts'
|
|
|
|
'lang-c':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/cc65.ts'
|
|
- 'lib/compilers/ellcc.ts'
|
|
- 'lib/compilers/ewarm.ts'
|
|
- 'lib/compilers/ewavr.ts'
|
|
- 'lib/compilers/ppci.ts'
|
|
- 'lib/compilers/sdcc.ts'
|
|
- 'lib/compilers/tendra.ts'
|
|
- 'etc/config/c.*.properties'
|
|
|
|
'lang-c++':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/ewarm.ts'
|
|
- 'lib/compilers/ewavr.ts'
|
|
- 'etc/config/c++.*.properties'
|
|
- 'static/modes/cppp-mode.ts'
|
|
|
|
'lang-c++-opencl':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'etc/config/cpp_for_opencl.*.properties'
|
|
- 'static/modes/cpp-for-opencl-mode.ts'
|
|
|
|
'lang-c3':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/c3c.ts'
|
|
- 'etc/config/c3.*.properties'
|
|
- 'static/modes/c3-mode.ts'
|
|
|
|
'lang-cmakescript':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/cmakescript.ts'
|
|
- 'etc/config/cmakescript.*.properties'
|
|
|
|
'lang-circle':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/circle.ts'
|
|
- 'etc/config/circle.*.properties'
|
|
- 'static/modes/cppcircle-mode.ts'
|
|
|
|
'lang-circt':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/circt.ts'
|
|
- 'etc/config/circt.*.properties'
|
|
|
|
'lang-clean':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/clean.ts'
|
|
- 'etc/config/clean.*.properties'
|
|
- 'static/modes/clean-mode.ts'
|
|
|
|
'lang-clojure':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/clojure.ts'
|
|
- 'etc/config/clojure.*.properties'
|
|
|
|
'lang-cobol':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/gnucobol.ts'
|
|
- 'etc/config/cobol.*.properties'
|
|
- 'static/modes/cobol-mode.ts'
|
|
|
|
'lang-cppx':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'etc/config/cppx_blue.*.properties'
|
|
- 'etc/config/cppx_gold.*.properties'
|
|
- 'static/modes/cppx-blue-mode.ts'
|
|
- 'static/modes/cppx-gold-mode.ts'
|
|
|
|
'lang-crystal':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/crystal.ts'
|
|
- 'etc/config/crystal.*.properties'
|
|
- 'static/modes/crystal-mode.ts'
|
|
|
|
'lang-cuda':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- lib/compilers/nvcc.ts
|
|
- etc/config/cuda.*.properties
|
|
- static/modes/cuda-mode.ts
|
|
|
|
'lang-d':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/dmd.ts'
|
|
- 'lib/compilers/ldc.ts'
|
|
- 'etc/config/d.*.properties'
|
|
- 'static/modes/d-mode.ts'
|
|
|
|
'lang-dotnet':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/dotnet.ts'
|
|
- 'lib/parsers/asm-parser-dotnet.ts'
|
|
- 'etc/config/csharp.*.properties'
|
|
- 'etc/config/fsharp.*.properties'
|
|
- 'etc/config/vb.*.properties'
|
|
|
|
'lang-dart':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/dart.ts'
|
|
- 'etc/config/dart.*.properties'
|
|
|
|
'lang-fortran':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/flang.ts'
|
|
- 'lib/compilers/flang-fc1.ts'
|
|
- 'lib/compilers/lfortran.ts'
|
|
- 'lib/compilers/fortran.ts'
|
|
- 'etc/config/fortran.*.properties'
|
|
- 'static/modes/fortran-mode.ts'
|
|
|
|
'lang-gimple':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/gimple.ts'
|
|
- 'etc/config/gimple.*.properties'
|
|
|
|
'lang-hlsl':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/hlsl.ts'
|
|
- 'etc/config/hlsl.*.properties'
|
|
- 'static/modes/hlsl-mode.ts'
|
|
|
|
'lang-hook':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/hook.ts'
|
|
- 'etc/config/hook.*.properties'
|
|
- 'static/modes/hook-mode.ts'
|
|
|
|
'lang-jakt':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/jakt.ts'
|
|
- 'etc/config/jakt.*.properties'
|
|
- 'static/modes/jakt-mode.ts'
|
|
|
|
'lang-glsl':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/glsl.ts'
|
|
- 'etc/config/glsl.*.properties'
|
|
- 'static/modes/glsl-mode.ts'
|
|
|
|
'lang-go':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/golang.ts'
|
|
- 'etc/config/go.*.properties'
|
|
|
|
'lang-haskell':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/haskell.ts'
|
|
- 'etc/config/haskell.*.properties'
|
|
- 'static/modes/haskell-mode.ts'
|
|
|
|
'lang-ispc':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/ispc.ts'
|
|
- 'etc/config/ispc.*.properties'
|
|
- 'static/modes/ispc-mode.ts'
|
|
|
|
'lang-mlir':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/mlir.ts'
|
|
- 'etc/config/mlir.*.properties'
|
|
- 'static/modes/mlir-mode.ts'
|
|
|
|
'lang-java':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/java.ts'
|
|
- 'etc/config/java.*.properties'
|
|
|
|
'lang-julia':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/julia.ts'
|
|
- 'etc/config/julia.*.properties'
|
|
|
|
'lang-kotlin':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/kotlin.ts'
|
|
- 'etc/config/kotlin.*.properties'
|
|
|
|
'lang-llvm':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/llvm-ast.ts'
|
|
- 'lib/llvm-ir.ts'
|
|
- 'lib/compilers/llc.ts'
|
|
- 'lib/compilers/llvm-mca.ts'
|
|
- 'lib/objdumper/llvm.ts'
|
|
- 'lib/tooling/llvm-mca-tool.ts'
|
|
- 'lib/tooling/llvm-dwarfdump-tool.ts'
|
|
- 'etc/config/llvm.*.properties'
|
|
- 'static/modes/llvm-ir-mode.ts'
|
|
|
|
'lang-modula2':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/gm2.ts'
|
|
- 'etc/config/modula2.*.properties'
|
|
- 'static/modes/modula2-mode.ts'
|
|
|
|
'lang-mojo':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/mojo.ts'
|
|
- 'etc/config/mojo.*.properties'
|
|
- 'static/modes/mojo-mode.ts'
|
|
|
|
'lang-nim':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/nim.ts'
|
|
- 'etc/config/nim.*.properties'
|
|
- 'static/modes/nim-mode.ts'
|
|
|
|
'lang-nix':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/nix.ts'
|
|
- 'etc/config/nix.*.properties'
|
|
- 'static/modes/nix-mode.ts'
|
|
|
|
'lang-numba':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/numba.ts'
|
|
- 'etc/config/numba.*.properties'
|
|
|
|
'lang-objc':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'etc/config/objc.*.properties'
|
|
|
|
'lang-objc++':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'etc/config/objc++.*.properties'
|
|
|
|
'lang-ocaml':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/ocaml.ts'
|
|
- 'etc/config/ocaml.*.properties'
|
|
- 'static/modes/ocaml-mode.ts'
|
|
|
|
'lang-odin':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/odin.ts'
|
|
- 'etc/config/odin.*.properties'
|
|
- 'static/modes/odin-mode.ts'
|
|
|
|
'lang-opencl-c':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'etc/config/openclc.*.properties'
|
|
- 'static/modes/openclc-mode.ts'
|
|
|
|
'lang-pascal':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/pascal.ts'
|
|
- 'etc/config/pascal.*.properties'
|
|
|
|
'lang-pony':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/pony.ts'
|
|
- 'etc/config/pony.*.properties'
|
|
|
|
'lang-python':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/python.ts'
|
|
- 'lib/compilers/pythran.ts'
|
|
- 'etc/config/python.*.properties'
|
|
|
|
'lang-racket':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/racket.ts'
|
|
- 'etc/config/racket.*.properties'
|
|
|
|
'lang-ruby':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/ruby.ts'
|
|
- 'etc/config/ruby.*.properties'
|
|
|
|
'lang-rust':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/rust.ts'
|
|
- 'etc/config/rust.*.properties'
|
|
|
|
'lang-scala':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/scala.ts'
|
|
- 'etc/config/scala.*.properties'
|
|
|
|
'lang-slang':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/slang.ts'
|
|
- 'etc/config/slang.*.properties'
|
|
|
|
'lang-solidity':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/solidity.ts'
|
|
- 'lib/compilers/solidity-zksync.ts'
|
|
- 'lib/compilers/solx.ts'
|
|
- 'lib/compilers/resolc.ts'
|
|
- 'etc/config/solidity.*.properties'
|
|
|
|
'lang-spice':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/spice.ts'
|
|
- 'etc/config/spice.*.properties'
|
|
- 'static/modes/spice-mode.ts'
|
|
|
|
'lang-spirv':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/spirv.ts'
|
|
- 'lib/compilers/spirv-tools.ts'
|
|
- 'etc/config/spirv.*.properties'
|
|
- 'static/modes/spirv-mode.ts'
|
|
|
|
'lang-swift':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/swift.ts'
|
|
- 'etc/config/swift.*.properties'
|
|
|
|
'lang-snowball':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/snowball.ts'
|
|
- 'etc/config/snowball.*.properties'
|
|
|
|
'lang-tablegen':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/tablegen.ts'
|
|
- 'etc/config/tablegen.*.properties'
|
|
- 'static/modes/tablegen-mode.ts'
|
|
|
|
'lang-toit':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/toit.ts'
|
|
- 'etc/config/toit.*.properties'
|
|
- 'static/modes/toit-mode.ts'
|
|
|
|
'lang-triton':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/triton.ts'
|
|
- 'etc/config/triton.*.properties'
|
|
|
|
'lang-typescript':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/typescript-native.ts'
|
|
- 'etc/config/typescript.*.properties'
|
|
|
|
'lang-v':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/v.ts'
|
|
- 'etc/config/v.*.properties'
|
|
- 'static/modes/v-mode.ts'
|
|
|
|
'lang-vala':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/vala.ts'
|
|
- 'etc/config/vala.*.properties'
|
|
- 'static/modes/vala-mode.ts'
|
|
|
|
'lang-wasm':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/wasmtime.ts'
|
|
- 'etc/config/wasm.*.properties'
|
|
- 'static/modes/wat-mode.ts'
|
|
|
|
'lang-yul':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/resolc.ts'
|
|
- 'etc/config/yul.*.properties'
|
|
- 'static/modes/yul-mode.ts'
|
|
|
|
'lang-zig':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'lib/compilers/zig.ts'
|
|
- 'etc/config/zig.*.properties'
|
|
- 'static/modes/zig-mode.ts'
|
|
|
|
'documentation':
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- 'docs/**/*'
|
|
- 'README.md'
|
|
- 'CONTRIBUTING.md'
|
|
- 'SECURITY.md'
|