Commit Graph

370 Commits

Author SHA1 Message Date
Michael McLoughlin
cf1739b920 internal/gen: doc exported symbols (#9) 2019-01-05 14:12:50 -08:00
Michael McLoughlin
c3a3000908 internal/load: doc exported symbols (#9) 2019-01-05 13:45:09 -08:00
Michael McLoughlin
9f1cb70aac internal/prnt: doc exported symbols (#9) 2019-01-05 11:53:35 -08:00
Michael McLoughlin
b0b4b88db4 avogen: package-level comment (#9) 2019-01-05 11:46:51 -08:00
Michael McLoughlin
f9a67bb2c0 internal/inst: doc exported symbols (#9) 2019-01-05 11:43:59 -08:00
Michael McLoughlin
d54d413e54 doc: fix broken links in README
Updates #13
2019-01-05 00:36:14 -08:00
Michael McLoughlin
24ca3eae08 .: doc exported symbols (#9) 2019-01-05 00:31:50 -08:00
Michael McLoughlin
c95744c872 build: some more doc comments (#9) 2019-01-05 00:11:13 -08:00
Michael McLoughlin
c48569a6b0 buildtags: doc exported symbols (#9) 2019-01-04 23:22:35 -08:00
Michael McLoughlin
dc571a47df reg: doc exported symbols (#9) 2019-01-04 22:06:00 -08:00
Michael McLoughlin
2e250a6f4c operand: doc for exported symbols (#9) 2019-01-04 21:38:23 -08:00
Michael McLoughlin
52a501c7be gotypes: doc exported symbols (#9) 2019-01-04 20:38:21 -08:00
Michael McLoughlin
69aeaf5cf7 src: package level doc (#9) 2019-01-04 20:03:17 -08:00
Michael McLoughlin
816cf06a08 pass: doc exported symbols (#9) 2019-01-04 20:00:22 -08:00
Michael McLoughlin
4cbe31e0bd src: doc for exported symbols (#9) 2019-01-04 19:39:17 -08:00
Michael McLoughlin
9d4cd16f88 printer: stop printer_test.go looking like generated code 2019-01-04 19:10:55 -08:00
Michael McLoughlin
88eff53893 printer: doc for exported symbols
Updates #9
2019-01-04 19:03:05 -08:00
Michael McLoughlin
cfce8d94df lint: explicitly configure golangci-lint excludes
Updates #9
2019-01-04 18:38:23 -08:00
Michael McLoughlin
672b77a441 reg,build: remove "v" from virtual register ctors
Fixes #30
2019-01-04 18:23:44 -08:00
Michael McLoughlin
05cfa809f2 build: include position information in errors
Updates #5
2019-01-04 15:01:29 -08:00
Michael McLoughlin
80c427d051 src: type for representing file:line positions
Updates #5
2019-01-04 10:57:50 -08:00
Michael McLoughlin
301d0c137a internal/stack: helper package for querying stack frames
Intended for #5. Also replaces a helper function in the `printer`
package.
2019-01-04 00:46:27 -08:00
Michael McLoughlin
52b6e2c03b doc: link to examples directory in README
Updates #13
2019-01-03 22:23:51 -08:00
Michael McLoughlin
fa7b5ed1dd doc: show more examples in README 2019-01-03 22:20:25 -08:00
Michael McLoughlin
91e048ff29 doc: add description to README
Updates #13
2019-01-03 22:02:02 -08:00
Michael McLoughlin
0594af978f doc: "Contributing" section in README
Updates #13
2019-01-03 20:49:03 -08:00
Michael McLoughlin
e0c1ed5776 doc: add quick start to README
Updates #13
2019-01-03 20:02:36 -08:00
Michael McLoughlin
ce1b0bb850 doc: move badges
Updates #13
2019-01-03 18:39:59 -08:00
Michael McLoughlin
a88262712f meta: adjust logo size
Updates #13
2019-01-03 00:46:06 -08:00
Michael McLoughlin
8a820aced1 meta: add logo
Update #13
2019-01-03 00:36:38 -08:00
Michael McLoughlin
36984c7031 printer: output build tags in stubs file
Updates #3
2019-01-02 22:01:38 -08:00
Michael McLoughlin
75224ed031 build: remove Build stutter from BuildConstraint*
Address golint failure.
2019-01-02 21:55:43 -08:00
Michael McLoughlin
6202c2c9aa ast,build: add build constraints to File
Updates #3
2019-01-02 21:35:17 -08:00
Michael McLoughlin
d92a147644 testing: coverage script
Updates #27
2019-01-02 20:41:59 -08:00
Michael McLoughlin
cf76c56dfc testing: script to measure coverage of a binary
Updates #27
2019-01-02 20:04:45 -08:00
Michael McLoughlin
d09e9ce5f9 buildtags: add Evaluate method
Updates #3
2019-01-02 00:10:55 -08:00
Michael McLoughlin
beeb9ed525 buildtags: package for build tag representation
Updates #3
2019-01-01 22:55:57 -08:00
Michael McLoughlin
0eb66fe6cc doc: READMEs for remaining "real world" examples
Updates #14
2019-01-01 17:01:08 -08:00
Michael McLoughlin
85a72997aa doc: README for data example
Updates #14
2019-01-01 16:33:30 -08:00
Michael McLoughlin
49c795704d doc: README for returns example
Updates #14
2019-01-01 16:15:33 -08:00
Michael McLoughlin
51931ee673 doc: README for sum example
Updates #14
2019-01-01 16:04:37 -08:00
Michael McLoughlin
8465c21c02 doc: README for complex example
Updates #14
2019-01-01 15:56:17 -08:00
Michael McLoughlin
1b0ce66552 doc: README for args example
Also started a README in the root examples directory.

Updates #14
2019-01-01 15:46:42 -08:00
Michael McLoughlin
4550badf58 doc: scripts to run embedmd on markdown files
This will help keep READMEs in sync with code.

Also adds a README for the add example.

Updates #14
2018-12-31 20:25:29 -08:00
Michael McLoughlin
816fa4c0e6 ast,build: allow setting data attributes
Previously GLOBL/DATA attributes are set to RODATA. This diff removes
that default and allows them to be set through the DataAttributes
context method.

Updates #2
2018-12-31 19:04:14 -08:00
Michael McLoughlin
f2315d539c tests: autogenerated test to confirm attribute strings
Test helps verify our attribute types match the macros in textflag.h.
Discovered https://golang.org/issue/29487 in the process.

Updates #2
2018-12-31 17:30:06 -08:00
Michael McLoughlin
6d6ff3cfc1 legal: include LICENSEs for data files
We depend upon data files from golang arch sub-repo and the Opcodes XML
database (behind PeachPy). This change includes their LICENSE files.

Updates #22
2018-12-31 16:17:44 -08:00
Michael McLoughlin
9fbb71b6db lint: enable golint
Enables golint and fixes function naming errors (operand checks
incorrectly cased).

Fixes #10
2018-12-31 11:20:59 -08:00
Michael McLoughlin
c79a926930 lint: enable some more linters 2018-12-31 11:01:50 -08:00
Michael McLoughlin
c62e40f8d2 pass: add textflags.h if required
Closes #12
2018-12-31 00:23:27 -08:00