Commit Graph
15 Commits
Author SHA1 Message Date
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
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
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 c1d074d6d5 Parse assembly labels on the serve-side
Parsing the labels on the server-side is more general, more flexible
and it can be easily tested.

- Store label definitions in a map. The key will be the label name and
the value will be the line number where the label definition can be
found.
- For each line get the labels which are used in the given line and
remove labels which do not have a definition.
- Modify the return value of the `processBinaryAsm` and `process`
function to return with the label definition too.
- Demangle the label usages and the label definitions too.
2019-12-01 21:36:21 +01:00
Matt Godbolt eabe33c166 Minor refactoring to extract filterAsmLine in one place. Starting to think about fixing #883 2018-10-22 23:00:28 -05:00
Partouf e9202f12e4 start to collect often used regular expressions for asm 2018-06-08 16:02:32 +02:00
Partouf 6ae8de7f12 undo 2018-04-22 15:15:49 +02:00
Partouf 3ac07073ca build fixes 2018-04-22 15:15:46 +02:00
RabsRincon 6ef87b5ef9 Fix copyright dates and normalize text 2018-02-27 14:58:21 +01:00
RabsRincon ef7db1af1d Implement CSP
Amazon is as strict as possible.
Default is as open as possible.

Code modified to allow for a strict Amazon CSP, which should not
	affect users running locally

Closes #750
2018-01-18 13:52:58 +01:00
partouf 7ce7594a67 wrong match 2018-01-07 20:58:22 +01:00
partouf 88b141d62b support gcc objdump notation of labels 2018-01-07 20:44:34 +01:00
partouf 404a9c110b basic setup for nasm and gnu as 2018-01-06 07:23:28 +01:00