Commit Graph
11 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
Arseniy Zaostrovnykh 4f88b3f4ec Highlight ASM and LLVM IR lines corresponding to the given token and vice-versa (#2594)
* Highlight the lines in LLVM-IR corresponding to specific tokens

In addition to the highlighting of all the IR lines corresponding to the given
source line (using blue background), also make the lines corresponding to the
given token on that source line.

* Parse the optional source column number in the text asm

* Bolden the asm lines corresponding to the given token and vice-versa

* Ignore column number if it is 0; add a test with no column specified
2021-04-13 10:22:44 +02:00
Matt Godbolt f68198af9e Reassign copyright to Compiler Explorer Authors (#2233) 2020-09-26 17:50:40 -05:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
Rubén Rincón BlancoandAustin Morton 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
Márton Csordás 0599c80d59 Update test cases with asm labels
Update test cases to check the parsed asm labels in the lines.
2019-12-01 21:59:31 +01:00
Matt Godbolt 4d6653dde7 Handle strings with spaces in them in asm output with horizontal whitespace squashing on. Fixes #883 2018-11-12 22:10:31 -06:00
Nicole Mazzuca 9ddf22f090 Support Visual C++ and Windows well
This commit adds support for hosting on windows, as well as better
support for the Visual C++ compiler. Specific interesting changes are:

  - switch from /FAsc to /FA
  - order functions in file order
  - support demangling win32-style identifiers with undname
  - clang++ and vc++ on win32 host are both supported
2018-07-28 15:18:43 -07:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
Matt Godbolt 08a6e750f5 Handle CE magic error documents in CL parser. Fixes #571 2018-01-18 08:26:21 -06:00