Also extract templates to their files

Compiler got some mixin love too :)
This commit is contained in:
RabsRincon
2022-07-06 08:24:06 +02:00
parent 000c8b5a10
commit f184e69ffb
5 changed files with 208 additions and 235 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ html(lang="en")
a(href=`${httpRoot}noscript`) click here
block footer
include templates.pug
include templates/templates
block scripts
script(src=`${httpRoot}client-options.js?hash=${optionsHash}`)
+44
View File
@@ -0,0 +1,44 @@
#codeEditor
.top-bar.btn-toolbar.bg-light(role="toolbar" aria-label="Editor toolbar" name="editor-btn-toolbar")
include ../font-size
.btn-group.btn-group-sm(role="group" aria-label="Editor settings")
button.btn.btn-sm.btn-light.load-save(title="Load or save text" aria-label="Load or save text")
span.fa.fa-save
span.hideable Save/Load
button.dropdown-toggle.btn.btn-sm.btn-light.add-pane(type="button" title="Add a new pane" aria-label="Add a new pane" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
span.fa.fa-plus
span.hideable Add new...
.dropdown-menu
button.dropdown-item.btn.btn-sm.btn-light.add-compiler(title="Add a new compiler for this source" aria-label="New compiler")
span.dropdown-icon.fa.fa-cogs
| Compiler
button.dropdown-item.btn.btn-sm.btn-light.add-executor(title="Add a new executor for this source" aria-label="New executor")
span.dropdown-icon.fas.fa-microchip
| Execution only
button.dropdown-item.btn.btn-sm.btn-light.conformance(title="Add a new conformance view" aria-label="New conformance view")
span.dropdown-icon.fa.fa-list
| Conformance view
button.dropdown-item.btn.btn-sm.btn-light.add-editor(title="Add a new source editor view" aria-label="New source editor")
span.dropdown-icon.fa.fa-code
| Source editor
button#vim-flag.btn.btn-sm.btn-light(title="Toggle Vim Keybindings")
span.fab.fa-vimeo-v
span.hideable Vim
if thirdPartyIntegrationEnabled
.btn-group.btn-group-sm(role="group" aria-label="External Sites")
a.btn.btn-sm.btn-light.open-in-cppinsights(href="https://cppinsights.io/" target="_blank" title="Open in Cppinsights" aria-label="Open in Cppinsights")
svg(height="16" width="16")
include ../resources/cppinsights.svg
span.hideable CppInsights
a.btn.btn-sm.btn-light.open-in-quickbench(href="http://quick-bench.com/" target="_blank" title="Open in Quick-bench" aria-label="Open in Quick-bench")
svg(height="16" width="16")
include ../resources/quickbench.svg
span.hideable Quick-bench
.btn-group.btn-group-sm.mx-auto
button.btn.btn-sm.btn-outline-info.ctrlSNothing(disabled=true style="display: none")
span.fas.fa-smile
.btn-group.btn-group-sm.ml-auto(role="group" aria-label="Editor language")
select.change-language(title="Change this editor's (and associated panels) language" placeholder="Language" disabled=embedded && readOnly)
div.currentCursorPosition
div#v-status
.monaco-placeholder
+94
View File
@@ -0,0 +1,94 @@
mixin addNew(classId, text, title, icon)
button(class="dropdown-item btn btn-sm btn-light " + classId title=title)
span(class="dropdown-icon " + icon)
| #{text}
#compiler
.top-bar.btn-toolbar.bg-light(role="toolbar")
.btn-group.btn-group-sm(role="group" aria-label="Compiler picker")
.input-group
.input-group-prepend
.input-group
select.compiler-picker
.input-group-append
button.btn.btn-sm.btn-light.input-group-text.prepend-options(data-trigger="click" style="cursor: pointer;" role="button" title="All compilation options")
span.status-icon
input.options.form-control(type="text" placeholder="Compiler options..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false")
.input-group-append.populararguments(title="Popular arguments")
button.btn.btn-sm.btn-light.btn-outline-secondary.dropdown-toggle.dropdown-toggle-split.popular-arguments-btn(type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
span.sr-only Popular arguments
div.dropdown-menu.dropdown-menu-right
button.dropdown-item.btn.btn-light.btn-sm
.argmenuitem
span.argtitle Detailed Compiler Flags
span.argdescription Open a new window to edit verbose compiler flags
include ../font-size
.btn-group.btn-group-sm.filters(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle(type="button" title="Compiler output options" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Change how the compiler's output is generated")
span.fas.fa-cog
span.hideable Output...
.dropdown-menu
include ../options-output
.btn-group.btn-group-sm.filters(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle(type="button" title="Compiler output filters" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Change how the compiler output is filtered")
span.fas.fa-filter
span.hideable Filter...
.dropdown-menu
include ../options-filters
.btn-group.btn-group-sm(role="group" aria-label="Compiler additions")
button.btn.btn-sm.btn-light.show-libs(title="Include libs" aria-label="Toggle libraries dropdown")
span.fas.fa-book
span.dp-text.hideable Libraries
.btn-group.btn-group-sm(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle.add-pane(type="button" title="Add a new pane" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Add new element for this compiler")
span.fas.fa-plus
span.hideable Add new...
.dropdown-menu.dropdown-menu-right
+addNew("add-compiler", "Clone Compiler", "Clone this compiler window (click or drag)", "far fa-clone")
+addNew("create-executor", "Executor From This", "Create executor from this compiler", "fas fa-microchip")
+addNew("view-optimization", "Optimization", "Show optimization output", "fas fa-weight")
+addNew("view-pp", "Preprocessor", "Show preprocessor output", "fas fa-hashtag")
+addNew("view-ast", "AST", "Show AST output", "fas fa-leaf")
+addNew("view-ir", "LLVM IR", "Show LLVM Intermediate Representation", "fas fa-align-center")
+addNew("view-llvm-opt-pipeline", "LLVM Opt Pipeline", "Show LLVM optimization pipeline output", "fas fa-compass")
+addNew("view-device", "Device", "Show device output", "fas fa-tv")
+addNew("view-rustmir", "Rust MIR", "Show Rust Mid-level Intermediate Representation", "fas fa-water")
+addNew("view-rusthir", "Rust HIR", "Show Rust High-level Intermediate Representation", "fas fa-arrows-alt")
+addNew("view-rustmacroexp", "Rust Macro Expansion", "Show Rust macro expansion", "fas fa-arrows-alt")
+addNew("view-haskellCore", "GHC Core", "Show GHC Core Intermediate Representation", "fas fa-water")
+addNew("view-haskellStg", "GHC STG", "Show GHC STG Intermediate Representation", "fas fa-water")
+addNew("view-haskellCmm", "GHC Cmm", "Show GHC Cmm Intermediate Representation", "fas fa-water")
+addNew("view-gccdump", "GCC Tree/RTL", "Show GCC Tree/RTL dump", "fas fa-tree")
+addNew("view-gnatdebugtree", "GNAT Debug Tree", "Show GNAT debug tree", "fas fa-tree")
+addNew("view-gnatdebug", "GNAT Debug Expanded Code", "Show GNAT debug expanded code", "fas fa-tree")
+addNew("view-cfg", "Graph", "Shpw graph output", "fas fa-exchange-alt")
.btn-group.btn-group-sm(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle.add-tool(type="button" title="Add tool" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Add tooling to this editor and compiler")
span.fas.fa-screwdriver
span.hideable Add tool...
.dropdown-menu.dropdown-menu-right.toolsmenu
.monaco-placeholder
.bottom-bar.bg-light
if !embedded
.btn-group.btn-group-sm
.input-group
.input-group-prepend
button.btn.btn-sm.btn-light.clear-cache(title="Clear cache & recompile")
span.fas.fa-redo
button.btn.btn-sm.btn-light.output-btn
span.fas.fa-receipt.status-text
|  Output
span.output-count
|  (
span.text-count
| 0
| /
span.err-count
| 0
| )
span.short-compiler-name.mr-1
button.btn.btn-sm.btn-light.full-compiler-name(data-trigger="click" style="cursor: pointer;" role="button")
span.fas.fa-info
span.compile-info.mr-1(title="Compilation info")
button.btn.btn-sm.btn-light.full-timing-info(data-trigger="click" style="cursor: pointer;" role="button")
span.fas.fa-chart-bar
+57
View File
@@ -0,0 +1,57 @@
#executor
.top-bar.btn-toolbar.bg-light(role="toolbar")
include ../font-size
.btn-group.btn-group-sm.options(role="group" aria-label="Output options")
.button-checkbox
button.btn.btn-sm.btn-light.wrap-lines(type="button" title="Wrap lines" data-bind="wrap" aria-pressed="false" aria-label="Wrap lines")
span Wrap lines
input.d-none(type="checkbox" checked=false)
button.btn.btn-sm.btn-light.show-libs(title="Include libs" aria-label="Toggle libraries dropdown")
span.fas.fa-book
span.dp-text.hideable Libraries
button.btn.btn-sm.btn-light.toggle-compilation.active(title="Compiler options" aria-label="Toggle compiler options input")
span.fas.fa-cogs
span.hideable Compilation
button.btn.btn-sm.btn-light.toggle-args(title="Execution arguments" aria-label="Toggle execution arguments input")
span.fas.fa-terminal
span.hideable Arguments
button.btn.btn-sm.btn-light.toggle-stdin(title="Execution stdin" aria-label="Toggle execution stdin input")
span.fas.fa-sign-in-alt
span.hideable Stdin
button.btn.btn-sm.btn-light.toggle-compilerout.active(title="Compiler output" aria-label="Toggle showing compiler output")
span.fas.fa-sign-out-alt
span.hideable Compiler output
button.btn.btn-sm.btn-light.clear-cache(title="Clear cache & recompile")
span.fas.fa-redo
.top-bar.btn-toolbar.bg-light.panel-compilation(role="toolbar")
.btn-group.btn-group-sm(role="group" aria-label="Compiler picker")
.input-group
.input-group-prepend
.input-group
select.compiler-picker
.input-group-append
button.btn.btn-sm.btn-light.input-group-text.prepend-options(data-trigger="click" style="cursor: pointer;" role="button" title="All compilation options")
span.btn.btn-sm.btn-light.status-icon
input.compilation-options.form-control(type="text" placeholder="Compiler options..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false")
// TODO: Maybe enable this in the future?
//.input-group-append.populararguments(title="Popular arguments")
button.btn.btn-sm.btn-light.btn-outline-secondary.dropdown-toggle.dropdown-toggle-split.popular-arguments-btn(type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
span.sr-only Popular arguments
div.dropdown-menu.dropdown-menu-right
button.dropdown-item.btn.btn-light.btn-sm
.argmenuitem
span.argtitle Detailed Compiler Flags
span.argdescription Open a new window to edit verbose compiler flags
.top-bar.btn-toolbar.bg-light.panel-args.d-none(role="toolbar")
input.execution-arguments.form-control(type="text" placeholder="Execution arguments..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false")
.top-bar.btn-toolbar.bg-light.panel-stdin.d-none(role="toolbar")
textarea.execution-stdin.form-control(placeholder="Execution stdin..." cols="1024" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" aria-multiline="false" style="resize: vertical")
pre.content
.execution-status
.compiler-output
.execution-output
.bottom-bar.bg-light
span.short-compiler-name
button.btn.btn-sm.btn-light.fas.fa-info.full-compiler-name(data-trigger="click" style="cursor: pointer;" role="button")
span.compile-time(title="Compilation time (Result size)")
button.btn.btn-sm.btn-light.fas.fa-chart-bar.full-timing-info(data-trigger="click" style="cursor: pointer;" role="button")
@@ -1,243 +1,21 @@
mixin monacopane(id)
div(id=id)
.top-bar.btn-toolbar.bg-light(role="toolbar")
include font-size.pug
include ../font-size
.monaco-placeholder
.gl_keep.template
#codeEditor
.top-bar.btn-toolbar.bg-light(role="toolbar" aria-label="Editor toolbar" name="editor-btn-toolbar")
include font-size.pug
.btn-group.btn-group-sm(role="group" aria-label="Editor settings")
button.btn.btn-sm.btn-light.load-save(title="Load or save text" aria-label="Load or save text")
span.fa.fa-save
span.hideable Save/Load
button.dropdown-toggle.btn.btn-sm.btn-light.add-pane(type="button" title="Add a new pane" aria-label="Add a new pane" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
span.fa.fa-plus
span.hideable Add new...
.dropdown-menu
button.dropdown-item.btn.btn-sm.btn-light.add-compiler(title="Add a new compiler for this source" aria-label="New compiler")
span.dropdown-icon.fa.fa-cogs
| Compiler
button.dropdown-item.btn.btn-sm.btn-light.add-executor(title="Add a new executor for this source" aria-label="New executor")
span.dropdown-icon.fas.fa-microchip
| Execution only
button.dropdown-item.btn.btn-sm.btn-light.conformance(title="Add a new conformance view" aria-label="New conformance view")
span.dropdown-icon.fa.fa-list
| Conformance view
button.dropdown-item.btn.btn-sm.btn-light.add-editor(title="Add a new source editor view" aria-label="New source editor")
span.dropdown-icon.fa.fa-code
| Source editor
button#vim-flag.btn.btn-sm.btn-light(title="Toggle Vim Keybindings")
span.fab.fa-vimeo-v
span.hideable Vim
if thirdPartyIntegrationEnabled
.btn-group.btn-group-sm(role="group" aria-label="External Sites")
a.btn.btn-sm.btn-light.open-in-cppinsights(href="https://cppinsights.io/" target="_blank" title="Open in Cppinsights" aria-label="Open in Cppinsights")
svg(height="16" width="16")
include resources/cppinsights.svg
span.hideable CppInsights
a.btn.btn-sm.btn-light.open-in-quickbench(href="http://quick-bench.com/" target="_blank" title="Open in Quick-bench" aria-label="Open in Quick-bench")
svg(height="16" width="16")
include resources/quickbench.svg
span.hideable Quick-bench
.btn-group.btn-group-sm.mx-auto
button.btn.btn-sm.btn-outline-info.ctrlSNothing(disabled=true style="display: none")
span.fas.fa-smile
.btn-group.btn-group-sm.ml-auto(role="group" aria-label="Editor language")
select.change-language(title="Change this editor's (and associated panels) language" placeholder="Language" disabled=embedded && readOnly)
div.currentCursorPosition
div#v-status
.monaco-placeholder
include codeEditor
#compiler
.top-bar.btn-toolbar.bg-light(role="toolbar")
.btn-group.btn-group-sm(role="group" aria-label="Compiler picker")
.input-group
.input-group-prepend
.input-group
select.compiler-picker
.input-group-append
button.btn.btn-sm.btn-light.input-group-text.prepend-options(data-trigger="click" style="cursor: pointer;" role="button" title="All compilation options")
span.status-icon
input.options.form-control(type="text" placeholder="Compiler options..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false")
.input-group-append.populararguments(title="Popular arguments")
button.btn.btn-sm.btn-light.btn-outline-secondary.dropdown-toggle.dropdown-toggle-split.popular-arguments-btn(type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
span.sr-only Popular arguments
div.dropdown-menu.dropdown-menu-right
button.dropdown-item.btn.btn-light.btn-sm
.argmenuitem
span.argtitle Detailed Compiler Flags
span.argdescription Open a new window to edit verbose compiler flags
include font-size
.btn-group.btn-group-sm.filters(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle(type="button" title="Compiler output options" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Change how the compiler's output is generated")
span.fas.fa-cog
span.hideable Output...
.dropdown-menu
include options-output.pug
.btn-group.btn-group-sm.filters(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle(type="button" title="Compiler output filters" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Change how the compiler output is filtered")
span.fas.fa-filter
span.hideable Filter...
.dropdown-menu
include options-filters.pug
.btn-group.btn-group-sm(role="group" aria-label="Compiler additions")
button.btn.btn-sm.btn-light.show-libs(title="Include libs" aria-label="Toggle libraries dropdown")
span.fas.fa-book
span.dp-text.hideable Libraries
.btn-group.btn-group-sm(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle.add-pane(type="button" title="Add a new pane" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Add new element for this compiler")
span.fas.fa-plus
span.hideable Add new...
.dropdown-menu.dropdown-menu-right
button.dropdown-item.btn.btn-sm.btn-light.add-compiler(title="Clone this compiler window (click or drag)")
span.dropdown-icon.far.fa-clone
| Clone compiler
button.dropdown-item.btn.btn-sm.btn-light.create-executor(title="Create executor from this compiler")
span.dropdown-icon.fas.fa-microchip
| Executor from this
button.dropdown-item.btn.btn-sm.btn-light.view-optimization(title="Show optimization output")
span.dropdown-icon.fas.fa-weight
| Optimization output
button.dropdown-item.btn.btn-sm.btn-light.view-pp(title="Show Preprocessor Output")
span.dropdown-icon.fas.fa-hashtag
| Preprocessor output
button.dropdown-item.btn.btn-sm.btn-light.view-ast(title="Show AST output")
span.dropdown-icon.fas.fa-leaf
| AST output
button.dropdown-item.btn.btn-sm.btn-light.view-ir(title="Show LLVM Intermediate Representation")
span.dropdown-icon.fas.fa-align-center
| LLVM IR output
button.dropdown-item.btn.btn-sm.btn-light.view-llvm-opt-pipeline(title="Show LLVM Optimization Pipeline Output")
span.dropdown-icon.fas.fa-compass
| LLVM Opt Pipeline output
button.dropdown-item.btn.btn-sm.btn-light.view-device(title="Show Device output")
span.dropdown-icon.fas.fa-tv
| Device output
button.dropdown-item.btn.btn-sm.btn-light.view-rustmir(title="Show Rust Mid-level Intermediate Representation")
span.dropdown-icon.fas.fa-water
| Rust MIR output
button.dropdown-item.btn.btn-sm.btn-light.view-rustmacroexp(title="Show Rust Macro Expansion")
span.dropdown-icon.fas.fa-arrows-alt
| Rust Macro Expansion output
button.dropdown-item.btn.btn-sm.btn-light.view-rusthir(title="Show Rust HIR")
span.dropdown-icon.fas.fa-arrows-alt
| Rust HIR output
button.dropdown-item.btn.btn-sm.btn-light.view-haskellCore(title="Show GHC Core Intermediate Representation")
span.dropdown-icon.fas.fa-water
| GHC Core output
button.dropdown-item.btn.btn-sm.btn-light.view-haskellStg(title="Show GHC STG Intermediate Representation")
span.dropdown-icon.fas.fa-water
| GHC STG output
button.dropdown-item.btn.btn-sm.btn-light.view-haskellCmm(title="Show GHC Cmm Intermediate Representation")
span.dropdown-icon.fas.fa-water
| GHC Cmm output
button.dropdown-item.btn.btn-sm.btn-light.view-gccdump(title="Show Tree/RTL dump (GCC only)")
span.dropdown-icon.fas.fa-tree
| GCC Tree/RTL output
button.dropdown-item.btn.btn-sm.btn-light.view-gnatdebugtree(title="Show GNAT Debug Tree")
span.dropdown-icon.fas.fa-tree
| GNAT Debug Tree
button.dropdown-item.btn.btn-sm.btn-light.view-gnatdebug(title="Show GNAT Debug Expanded Code")
span.dropdown-icon.fas.fa-tree
| GNAT Debug Expanded Code
button.dropdown-item.btn.btn-sm.btn-light.view-cfg(title="Show Graph Output")
span.dropdown-icon.fas.fa-exchange-alt
| Graph output
.btn-group.btn-group-sm(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle.add-tool(type="button" title="Add tool" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Add tooling to this editor and compiler")
span.fas.fa-screwdriver
span.hideable Add tool...
.dropdown-menu.dropdown-menu-right.toolsmenu
.monaco-placeholder
.bottom-bar.bg-light
if !embedded
.btn-group.btn-group-sm
.input-group
.input-group-prepend
button.btn.btn-sm.btn-light.clear-cache(title="Clear cache & recompile")
span.fas.fa-redo
button.btn.btn-sm.btn-light.output-btn
span.fas.fa-receipt.status-text
|  Output
span.output-count
|  (
span.text-count
| 0
| /
span.err-count
| 0
| )
span.short-compiler-name.mr-1
button.btn.btn-sm.btn-light.full-compiler-name(data-trigger="click" style="cursor: pointer;" role="button")
span.fas.fa-info
span.compile-info.mr-1(title="Compilation info")
button.btn.btn-sm.btn-light.full-timing-info(data-trigger="click" style="cursor: pointer;" role="button")
span.fas.fa-chart-bar
include compiler
include executor
#executor
.top-bar.btn-toolbar.bg-light(role="toolbar")
include font-size
.btn-group.btn-group-sm.options(role="group" aria-label="Output options")
.button-checkbox
button.btn.btn-sm.btn-light.wrap-lines(type="button" title="Wrap lines" data-bind="wrap" aria-pressed="false" aria-label="Wrap lines")
span Wrap lines
input.d-none(type="checkbox" checked=false)
button.btn.btn-sm.btn-light.show-libs(title="Include libs" aria-label="Toggle libraries dropdown")
span.fas.fa-book
span.dp-text.hideable Libraries
button.btn.btn-sm.btn-light.toggle-compilation.active(title="Compiler options" aria-label="Toggle compiler options input")
span.fas.fa-cogs
span.hideable Compilation
button.btn.btn-sm.btn-light.toggle-args(title="Execution arguments" aria-label="Toggle execution arguments input")
span.fas.fa-terminal
span.hideable Arguments
button.btn.btn-sm.btn-light.toggle-stdin(title="Execution stdin" aria-label="Toggle execution stdin input")
span.fas.fa-sign-in-alt
span.hideable Stdin
button.btn.btn-sm.btn-light.toggle-compilerout.active(title="Compiler output" aria-label="Toggle showing compiler output")
span.fas.fa-sign-out-alt
span.hideable Compiler output
button.btn.btn-sm.btn-light.clear-cache(title="Clear cache & recompile")
span.fas.fa-redo
.top-bar.btn-toolbar.bg-light.panel-compilation(role="toolbar")
.btn-group.btn-group-sm(role="group" aria-label="Compiler picker")
.input-group
.input-group-prepend
.input-group
select.compiler-picker
.input-group-append
button.btn.btn-sm.btn-light.input-group-text.prepend-options(data-trigger="click" style="cursor: pointer;" role="button" title="All compilation options")
span.btn.btn-sm.btn-light.status-icon
input.compilation-options.form-control(type="text" placeholder="Compiler options..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false")
// TODO: Maybe enable this in the future?
//.input-group-append.populararguments(title="Popular arguments")
button.btn.btn-sm.btn-light.btn-outline-secondary.dropdown-toggle.dropdown-toggle-split.popular-arguments-btn(type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false")
span.sr-only Popular arguments
div.dropdown-menu.dropdown-menu-right
button.dropdown-item.btn.btn-light.btn-sm
.argmenuitem
span.argtitle Detailed Compiler Flags
span.argdescription Open a new window to edit verbose compiler flags
.top-bar.btn-toolbar.bg-light.panel-args.d-none(role="toolbar")
input.execution-arguments.form-control(type="text" placeholder="Execution arguments..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false")
.top-bar.btn-toolbar.bg-light.panel-stdin.d-none(role="toolbar")
textarea.execution-stdin.form-control(placeholder="Execution stdin..." cols="1024" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" aria-multiline="false" style="resize: vertical")
pre.content
.execution-status
.compiler-output
.execution-output
.bottom-bar.bg-light
span.short-compiler-name
button.btn.btn-sm.btn-light.fas.fa-info.full-compiler-name(data-trigger="click" style="cursor: pointer;" role="button")
span.compile-time(title="Compilation time (Result size)")
button.btn.btn-sm.btn-light.fas.fa-chart-bar.full-timing-info(data-trigger="click" style="cursor: pointer;" role="button")
#compiler-output
.top-bar.btn-toolbar.options-toolbar.bg-light(role="toolbar")
include font-size
include ../font-size
.btn-group.btn-group-sm.options(role="group" aria-label="Output options")
.button-checkbox
button.btn.btn-sm.btn-light.wrap-lines(type="button" title="Wrap lines" data-bind="wrap" aria-pressed="false" aria-label="Wrap lines")
@@ -254,7 +32,7 @@ mixin monacopane(id)
.top-bar.bad-lang.bg-warning(role="toolbar" style="display: none")
p The current language or compiler does not support this tool
.top-bar.btn-toolbar.options-toolbar.bg-light(role="toolbar")
include font-size
include ../font-size
.btn-group.btn-group-sm.options(role="group" aria-label="Tool options")
.input-group.input-group-sm.mb-auto
.button-checkbox
@@ -276,7 +54,7 @@ mixin monacopane(id)
#diff
.top-bar.btn-toolbar.bg-light(role="toolbar")
include font-size.pug
include ../font-size
.btn-group.btn-group-sm
.input-group.input-group-sm.mb-auto
.input-group-prepend
@@ -299,7 +77,7 @@ mixin monacopane(id)
#pp
.top-bar.btn-toolbar.bg-light(role="toolbar")
include font-size.pug
include ../font-size
.btn-group.btn-group-sm.options(role="group" aria-label="Panel options")
.input-group.input-group-sm.mb-auto
.button-checkbox
@@ -319,7 +97,7 @@ mixin monacopane(id)
#llvm-opt-pipeline
.top-bar.btn-toolbar.bg-light(role="toolbar")
include font-size.pug
include ../font-size
.btn-group.btn-group-sm.options(role="group")
button.btn.btn-sm.btn-light.dropdown-toggle(type="button" title="LLVM Opt Pass Options" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Set output options")
span.fas.fa-anchor
@@ -360,7 +138,7 @@ mixin monacopane(id)
#device
.top-bar.btn-toolbar.bg-light(role="toolbar")
include font-size.pug
include ../font-size
.btn-group.btn-group-sm(role="group")
select.change-device(placeholder="Select a device...")
.monaco-placeholder
@@ -383,7 +161,7 @@ mixin monacopane(id)
#gccdump
.top-bar.btn-toolbar.bg-light(role="toolbar")
include font-size
include ../font-size
.btn-group.btn-group-sm(role="group")
select.gccdump-pass-picker(placeholder="Select a pass...")
.btn-group.btn-group-sm.dump-filters