RabsRincon
0437f8db8e
ES6fy lib/asm.js
2018-03-24 19:37:26 +01:00
RabsRincon
d74c528dfb
Add quote-props lint options & add D tests
2018-03-08 12:55:31 +01:00
RabsRincon
6ef87b5ef9
Fix copyright dates and normalize text
2018-02-27 14:58:21 +01:00
RabsRincon
670afd8921
Move to ESLint
...
Somewhat compilant!
2018-02-13 14:49:07 +01:00
RabsRincon
93d0241a4c
Add line count to compiler output button
...
Closes #809
2018-02-07 22:56:17 +01:00
jaredwy
3f362fd9fc
Enabling eqeqeeq for server side codee as w ell
2018-02-08 08:32:25 +11:00
Matt Godbolt
03430f5776
Handle MIPS label types (when autodeteted). Fixes #660
2018-01-23 17:40:11 -06:00
Matt Godbolt
09cc682dd6
ES6ify asm.js
2018-01-16 07:59:12 -06:00
Matt Godbolt
d5271e97c5
Remove block-style C comments. Fixes #348
2018-01-16 07:51:39 -06:00
Matt Godbolt
b63291589c
Treat ; as a line comment
...
Fixes #349
2018-01-15 20:28:51 -06:00
partouf
5f52edfb85
fixes #725
2018-01-02 22:58:06 +01:00
RabsRincon
fc75208dac
New year, new date
2018-01-01 16:44:04 +01:00
partouf
f3b0ebc8c3
vars can be let
2017-12-21 14:47:04 +01:00
partouf
74b488020c
regex fix
2017-12-20 18:27:23 +01:00
partouf
53a691c865
undo extra lf
2017-12-20 18:20:47 +01:00
partouf
8f9ca65a31
undo extra lf
2017-12-20 18:17:54 +01:00
partouf
3a5cdf87e2
refactoring, support nested asm tags for icc, icc tests
2017-12-20 18:14:47 +01:00
partouf
f31098ffa5
changed the findUsedLabels() function so it recognizes the special case in which gcc indents inline asm labels
2017-12-20 17:26:55 +01:00
partouf
f7c51b948f
always allow custom assembly labels, as they are included in the linux binaries too
2017-12-20 17:26:42 +01:00
RabsRincon
be42a844d0
Fix Go line highlight
2017-12-19 17:13:10 +01:00
Rubén
556c41af21
Merge pull request #632 from partouf/fpcdemangle
...
fpc demangle assembly labels
2017-11-28 22:47:32 +01:00
partouf
ef9ed6d2e4
if binaryHideFuncRe doesnt have a value, assume everything is a userfunction
2017-11-28 21:04:19 +01:00
RabsRincon
bc28b43f88
Revert incorrect Regex fix in asm filtering
2017-11-26 11:49:36 +01:00
RabsRincon
7a184eefc2
Add code tracking for Go
...
Adresses #650 but @mattgodbolt should take a look at this
before pushinAdd code tracking for Go
2017-11-26 03:05:34 +01:00
partouf
ab05526b7f
extra functionality needed for non-standard assembly outputs
2017-11-24 18:08:32 +01:00
cppchedy
0882e6b612
fix #629
2017-11-24 16:27:30 +01:00
Marc Poulhiès
9784aa54bf
Better handling of assignments in assembly
...
Some assembly syntax can use '='. Refine asm filtering to only
consider as assignements statements of the form:
Some_Name = Some Thing Else
ie. Checks that LHS has exactly 1 element.
Include a new test using such assembly.
fix #620
2017-11-14 13:26:29 +01:00
Matt Godbolt
54aa4a52d5
Generate new-style source annotation in binary mode. Fixes #553
2017-10-06 08:31:06 -05:00
Matt Godbolt
83ff13813b
Better handling of labels in asm.
...
* Treats `FOO = BAR` like label definitions
* Uses `.globl` and `.global` as roots for detecting interesting symbols
* No longer assumes all uninteresting variables start with `.`
Fixes #320
2017-10-04 22:49:38 -05:00
Matt Godbolt
476fde3c4c
Identify lines referring to included files.
...
Now the API returns `source: {line: num, file: x}` where x
is null for the user-supplied file and a path otherwise.
Hopefully fixes #353 , and #418 and #417 - previosuly we misidentified
external lines as being for this file, so the STL includes (for example)
would be misinterpreted as being local. As the STL includes are huge,
we'd try and colourise line 600, or similar.
Tests updated accordingly.
2017-07-30 08:49:24 -05:00
Matt Godbolt
9c0151997d
Improvements to embedded views
2017-07-21 08:34:50 -05:00
Matt Godbolt
b6e9a4658b
Another year, another copyright update
2017-01-02 10:14:46 -06:00
Matt Godbolt
050f5e3c3c
Properly treat MIPS label definitions. Fixes #214
2016-12-23 16:33:21 -06:00
Matt Godbolt
ed12b7e932
Filter out more labels that are unreferenced
2016-12-20 17:45:45 -06:00
Matt Godbolt
88897a2813
Fix for ARM
2016-12-19 23:28:56 -06:00
Matt Godbolt
a91e1ee6e7
Fix up initial labels/function definitions.
2016-12-19 23:15:18 -06:00
Matt Godbolt
9af5650aff
Refactor so as not to rely on magic comments in MS-derived compilation output
2016-12-19 18:20:21 -06:00
Matt Godbolt
0362e0cbae
Send opcodes as strings. Fix up ARM opcode and label handling
2016-12-09 06:17:59 -06:00
Matt Godbolt
70b8d2d178
Fix filtering of labels of defined functions.
...
Addresses #192
2016-11-24 11:59:49 -06:00
Matt Godbolt
49932af0fa
Work in progress on WINE/win32/win64 compiler support
2016-11-09 18:07:51 -06:00
Matt Godbolt
ce82847723
Fix up AVR line processing. Fixes #164
2016-10-22 09:31:01 -05:00
Johan Engelen
fb9fa78cc9
Fix file match for colorizing
2016-10-19 20:56:37 +02:00
Matt Godbolt
3dd7fd7312
Extract some things, remove TODOs
2016-10-17 18:44:48 -05:00
Matt Godbolt
630235dc0b
Merge branch 'msvc-spike'
2016-10-17 08:17:40 -05:00
Matt Godbolt
610d646866
Improvements to CL parser
2016-10-17 08:17:00 -05:00
Matt Godbolt
6fc5c166da
Lint fixes
2016-10-12 13:26:16 -05:00
Matt Godbolt
d11fb2c206
Merge branch 'master' into msvc-spike
...
Conflicts:
app.js
etc/config/gcc-explorer.lud-ldnmg01.properties
lib/asm.js
lib/compile.js
package.json
static/asm-mode.js
static/compiler.js
test/test.js
2016-10-03 18:03:52 -05:00
Matt Godbolt
c9b8f5aad3
Tidy up some jshint warnings in the server
2016-09-29 07:49:01 -05:00
Matt Godbolt
fa4406b186
Fix unused label issues
...
Treat labels which are used only by directives in other labels as used
if the other label itself is used by an opcode: that is, propagate the
transitive usage of labels.
Fixes #35
2016-09-20 12:39:24 -05:00
Matt Godbolt
4e89ed2db9
Binary mode tweaks
2016-06-13 21:20:30 -05:00