mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
rename val to hylo
This commit is contained in:
4
etc/config/hylo.defaults.properties
Normal file
4
etc/config/hylo.defaults.properties
Normal file
@@ -0,0 +1,4 @@
|
||||
compilers=/Users/demarco/dev/hylo/hylo-fork/.build/release/hc
|
||||
supportsBinary=true
|
||||
compilerType=hylo
|
||||
objdumper=objdump
|
||||
@@ -1,4 +0,0 @@
|
||||
compilers=/Users/demarco/dev/val/val/.build/release/valc
|
||||
supportsBinary=true
|
||||
compilerType=val
|
||||
objdumper=objdump
|
||||
@@ -68,6 +68,7 @@ export {GolangCompiler} from './golang.js';
|
||||
export {HaskellCompiler} from './haskell.js';
|
||||
export {HLSLCompiler} from './hlsl.js';
|
||||
export {HookCompiler} from './hook.js';
|
||||
export {HyloCompiler} from './hylo.js';
|
||||
export {ISPCCompiler} from './ispc.js';
|
||||
export {JaktCompiler} from './jakt.js';
|
||||
export {JavaCompiler} from './java.js';
|
||||
@@ -122,7 +123,6 @@ export {Win32MingWGcc} from './win32-mingw-gcc.js';
|
||||
export {Win32MingWClang} from './win32-mingw-clang.js';
|
||||
export {WineVcCompiler} from './wine-vc.js';
|
||||
export {WslVcCompiler} from './wsl-vc.js';
|
||||
export {ValCompiler} from './val.js';
|
||||
export {ZigCC} from './zigcc.js';
|
||||
export {ZigCompiler} from './zig.js';
|
||||
export {ZigCXX} from './zigcxx.js';
|
||||
|
||||
@@ -9,9 +9,9 @@ import type {ParseFiltersAndOutputOptions} from '../../types/features/filters.in
|
||||
// - execute the compiler.exe with the arguments from OptionsForFilter() and adding inputFilename
|
||||
// - be aware that the language class is only instanced once, so storing state is not possible
|
||||
|
||||
export class ValCompiler extends BaseCompiler {
|
||||
export class HyloCompiler extends BaseCompiler {
|
||||
static get key() {
|
||||
return 'val';
|
||||
return 'hylo';
|
||||
}
|
||||
|
||||
override optionsForFilter(
|
||||
@@ -384,6 +384,17 @@ const definitions: Record<LanguageKey, LanguageDefinition> = {
|
||||
previewFilter: null,
|
||||
monacoDisassembly: null,
|
||||
},
|
||||
hylo: {
|
||||
name: 'Hylo',
|
||||
monaco: 'hylo',
|
||||
extensions: ['.hylo'],
|
||||
alias: [],
|
||||
logoUrl: 'hylo.svg',
|
||||
logoUrlDark: null,
|
||||
formatter: null,
|
||||
previewFilter: null,
|
||||
monacoDisassembly: null,
|
||||
},
|
||||
ispc: {
|
||||
name: 'ispc',
|
||||
monaco: 'ispc',
|
||||
@@ -659,17 +670,6 @@ const definitions: Record<LanguageKey, LanguageDefinition> = {
|
||||
previewFilter: null,
|
||||
monacoDisassembly: 'nc',
|
||||
},
|
||||
val: {
|
||||
name: 'Val',
|
||||
monaco: 'val',
|
||||
extensions: ['.val'],
|
||||
alias: [],
|
||||
logoUrl: 'val.svg',
|
||||
logoUrlDark: null,
|
||||
formatter: null,
|
||||
previewFilter: null,
|
||||
monacoDisassembly: null,
|
||||
},
|
||||
vala: {
|
||||
name: 'Vala',
|
||||
monaco: 'vala',
|
||||
|
||||
@@ -47,6 +47,7 @@ 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';
|
||||
@@ -59,6 +60,5 @@ import './openclc-mode';
|
||||
import './ptx-mode';
|
||||
import './spirv-mode';
|
||||
import './v-mode';
|
||||
import './val-mode';
|
||||
import './vala-mode';
|
||||
import './zig-mode';
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
// POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import $ from 'jquery';
|
||||
|
||||
import * as monaco from 'monaco-editor';
|
||||
|
||||
function definition(): monaco.languages.IMonarchLanguage {
|
||||
@@ -231,7 +229,7 @@ function definition(): monaco.languages.IMonarchLanguage {
|
||||
};
|
||||
}
|
||||
|
||||
monaco.languages.register({id: 'val'});
|
||||
monaco.languages.setMonarchTokensProvider('val', definition());
|
||||
monaco.languages.register({id: 'hylo'});
|
||||
monaco.languages.setMonarchTokensProvider('hylo', definition());
|
||||
|
||||
export {};
|
||||
@@ -53,6 +53,7 @@ export type LanguageKey =
|
||||
| 'haskell'
|
||||
| 'hlsl'
|
||||
| 'hook'
|
||||
| 'hylo'
|
||||
| 'ispc'
|
||||
| 'jakt'
|
||||
| 'java'
|
||||
@@ -80,7 +81,6 @@ export type LanguageKey =
|
||||
| 'toit'
|
||||
| 'typescript'
|
||||
| 'v'
|
||||
| 'val'
|
||||
| 'vala'
|
||||
| 'vb'
|
||||
| 'zig';
|
||||
|
||||
3
views/resources/logos/hylo.svg
Normal file
3
views/resources/logos/hylo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 320 KiB |
Reference in New Issue
Block a user