Commit Graph

27 Commits

Author SHA1 Message Date
Matt Godbolt
f2c1e0bd31 The Grand Reformat (#3643)
* 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
2022-05-09 23:13:50 -05:00
Rubén Rincón Blanco
48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
RabsRincon
91e4f3702a Make sure asm-raw behaves on compilation errors
Closes #3198
2021-12-31 13:23:22 +01:00
Matt Godbolt
a4edf7ed6b No array for each 2021-05-28 18:08:05 -05:00
Matt Godbolt
5c5bc4dd50 Dont array push multiple times 2021-05-27 23:25:37 -05:00
Patrick Quist
50481068f8 Link into executable for Assembly language (#2581)
* initial working version

* refactor readelf and ld exes to properties

* minor mac support thing

* refactor to use buildsteps

* support timing for buildsteps

* bugfix gnuas and better error when we can't link

* disable for ARM archs and ptx assemblers
2021-04-13 17:01:11 +02:00
Jessica Clarke
af686e81f7 Support ELF Tool Chain and LLVM objdump (#2538)
* Remove redundant implementations of objdump function

* Add support for ELF Tool Chain and LLVM objdump

Only binutils supports --insn-width and LLVM uses --x86-asm-syntax=intel
rather than -M intel. The default remains binutils.
2021-04-01 08:34:07 -05:00
Patrick Quist
a0f70d4b0b allow other nasm inputformat, add readelf to assembly (#2481) 2021-03-11 20:35:30 +01:00
Patrick Quist
7edd6d40ac Time all the things (#2462)
* time executeDirect in ms

* measure library download and extract time

* time package download

* download timings when using execution checkbox

* proof of concept timing graph implementation

* use vertical bars for graph

* add objdump time

* add timing for asm parsing

* add timing graph to execution pane as well

* download timings on execution pane

* things
2021-03-11 17:37:57 +01:00
Patrick Quist
a2eed58cd0 Transfer copyright to compiler explorer authors (#2232) 2020-09-26 18:26:02 -04:00
Austin Morton
044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Austin Morton
bac07fea6d Eliminate all dynamic require statements (#2230) 2020-09-25 11:21:30 -04:00
Rubén Rincón Blanco
ccff4b9ee5 Add new eslint rules (#2121)
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>
2020-08-04 16:39:02 -04:00
Matt Godbolt
9941ac6e76 async 2020-01-14 22:53:33 -06:00
Partouf
065ae74888 no linking for asm compilers 2019-08-21 02:15:29 +02:00
Matt Godbolt
c327df8fc9 Fix equals 2019-05-15 13:47:28 -05:00
Matt Godbolt
090ac3863c Ignore dotfiles in the asm output directory (as it may be running in /home/matthew under firejail and thus find .bashrc et al 2019-05-15 13:45:40 -05:00
Matt Godbolt
8807b6ae7b Ensure objdump runs in the right directory 2019-05-15 12:03:36 -05:00
RabsRincon
6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
Partouf
c266246860 fix 2018-02-21 20:34:02 +01:00
RabsRincon
670afd8921 Move to ESLint
Somewhat compilant!
2018-02-13 14:49:07 +01:00
Partouf
457a6f5346 compiler handler calls initialise() 2018-01-28 00:46:44 +01:00
Partouf
9a76e777a7 remove return initialise, no need for unittestmode 2018-01-28 00:34:05 +01:00
RabsRincon
a54faefb4c ES6fy compilers inheritance 2018-01-18 19:43:10 +01:00
partouf
ace5ee63ad bugfix 2018-01-10 19:23:32 +01:00
partouf
6b01b25f14 supportsBinary causes filter button issues, but it doesn't have to be on for things to work 2018-01-08 03:53:08 +01:00
partouf
404a9c110b basic setup for nasm and gnu as 2018-01-06 07:23:28 +01:00