aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.js
Commit message (Collapse)AuthorAge
* Move compilers/golang to Typescript (#3980)gh-4020Rubén Rincón Blanco2022-08-25
| | | | | | | | | | | * Rename golang.js to golang.ts * Move golang to Typescript * Add types to base postProcess so golang knows about them * Remove CompilationResult type from signature * Remove asmSize, leave it for the other PR
* The Grand Reformat (#3643)gh-2830Matt Godbolt2022-05-09
| | | | | | | | | | * The Grand Reformat - everything made prettier...literally - some tweaks to include a few more files, including documentation - minor changes to format style - some tiny `// prettier-ignore` changes to keep a few things the way we like them - a couple of super minor tweaks to embedded document types to ensure they format correctly
* Avoid calling compilerProps after compiler object construction (#3005)gh-1092Austin Morton2021-10-04
|
* Reassign my copyright to Compiler Explorer AuthorsRabsRincon2021-07-27
|
* Reassign my copyright to Compiler Explorer AuthorsMatt Godbolt2021-07-24
|
* Prefer regex.test()Matt Godbolt2021-05-27
|
* Keep go asm in UPPERCASE. See #2620Matt Godbolt2021-04-26
|
* Fix golang compiler output when run under firejailAustin Morton2020-11-03
| | | | | | | | | | | | | Due to some environment differences between running under firejail or under no sandbox, the regex used in `extractLogging` does not match any lines because the compiler output already has filenames replaced with `<source>` when run under firejail. When run outside firejail the filenames are not filtered. Additionally, some compiler output was lost due to having a filename of `<autogenerated>`. Fixes #2228
* Use ES6 Modules (#2132)Austin Morton2020-09-26
|
* Eliminate all dynamic require statements (#2230)Austin Morton2020-09-25
|
* add wasm variants for GO (#2187)Patrick Quist2020-09-06
|
* [WIP] Golang GO support binary + execution (#2179)Patrick Quist2020-09-04
| | | | | | | * glgo support binary + execution * fix args * disable binary for 1.4.1
* Add new eslint rules (#2121)Rubén Rincón Blanco2020-08-04
| | | | | | | | | | | | | | | | The largest changes here are: - enforcing single quotes for strings - enforcing trailing commas where possible In addition to those we have enabled several eslint plugins: - plugin:requirejs/recommended, to enforce some conventions in require statements - plugin:node/recommended, to enforce correct usage of various node.js APIs - plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules This PR attempts to not change code behavior when possible. In cases where fixing existing code would change semantics, a linting exclusion has been placed in the code base to silence the error. You can find these by searching for `eslint-disable-next-line`. Co-authored-by: Austin Morton <austinpmorton@gmail.com>
* Go: Add additional architecturesKale Blankenship2020-05-19
| | | | | Use 'go build' instead of 'go tool compile' to more easily support additional architectures.
* More async work; and some refactoringMatt Godbolt2020-01-06
|
* Fix up return of postProcess for golang. Fixes #1765Matt Godbolt2020-01-06
|
* change argument parser for some compilersPartouf2019-01-08
|
* Add tests for Go labels and handle function name collisions.Kale Blankenship2018-11-28
|
* go: replace PC jumps with labelsKale Blankenship2018-11-26
| | | | Rewrite PC jumps with labels so that it's clear where the jumps are to.
* sourcePartouf2018-11-01
|
* golang: extract logging from asm stdoutPartouf2018-11-01
|
* Drop underscore-node in favour of underscore.jsRabsRincon2018-06-15
| | | | | | | | | After some suprises about how outdated the node version was compared to the main project, it became clear we needed to do something. @jaredwy suggested using the main project as there's now nothing stopping us from using it after the switch to webpack. cc @mattgodbolDrop underscore-node in favour of underscore.js
* missed a slashPartouf2018-04-17
|
* fix unknown source lines in GO asm outputPartouf2018-04-17
|
* Fix copyright dates and normalize textRabsRincon2018-02-27
|
* Move to ESLintRabsRincon2018-02-13
| | | | Somewhat compilant!
* remove obsolete/empty constructorspartouf2018-01-28
|
* compiler handler calls initialise()Partouf2018-01-28
|
* remove return initialise, no need for unittestmodePartouf2018-01-28
|
* ES6fy compilers inheritanceRabsRincon2018-01-18
|
* New year, new dateRabsRincon2018-01-01
|
* Remove explicit langid, as it's part of the compiler config alreadyMatt Godbolt2017-12-22
|
* Merge branch 'master' into unificationMatt Godbolt2017-12-21
|\
| * Remove filter(_.identity) in favour of _.compact()Matt Godbolt2017-12-21
| |
* | Merge branch 'master' into unificationRubén2017-12-19
|\|
| * Fix Go line highlightRabsRincon2017-12-19
| |
* | Fix lingering issues. Now you can at least compile!RabsRincon2017-12-03
| | | | | | | | | | Quite a lot of stuff to do, I've been neglecting this the whole weekend (Let me tell you how good A Hat In Time is. GOTY)
* | Change enough stuff as to get it runningRabsRincon2017-12-02
|/ | | | | Not saying it works, but if you hack few more things, you can start to use it. Commiting just in case
* Add code tracking for GoRabsRincon2017-11-26
| | | | | Adresses #650 but @mattgodbolt should take a look at this before pushinAdd code tracking for Go
* Finalize Go implemenationRabsRincon2017-11-25
| | | | Finally! Every version should work now!
* Allow older Go versions to run better!RabsRincon2017-11-25
|
* Finish off #536RabsRincon2017-11-23
Still work to do on #640 but this one is already ok!