Commit graph

297 commits

Author SHA1 Message Date
arookas
23aee05fb4 Removed old scope code.
It was flawed to begin with, so it'd need to be redesigned from the
ground up to be put back in.
2016-03-08 02:25:33 -05:00
arookas
fbb0430325 Fixed: check against local function variables. 2016-03-08 02:21:09 -05:00
arookas
2f6058d49f Added error message for constant declarations. 2016-03-08 02:16:13 -05:00
arookas
26d742dda5 Removed assembly-info files
These auto-generated pieces of shit are just not important enough to
keep up-to-date.
2016-03-02 02:54:48 -05:00
arookas
54f5e0162c Fixed: ret0 made text output quit early
Now it checks if there's a jne or jmp command pointing past the current
ret, ret0, or end command and, if so, keeps going.
2016-03-02 02:46:13 -05:00
arookas
da3b81cf33 var keyword is awesome 2016-03-02 02:45:06 -05:00
arookas
a17a6c4b84 Even more renaming
WILL IT EVER STOP?!
2016-03-02 02:44:47 -05:00
arookas
f03fb8ac10 More renaming 2016-03-02 02:11:40 -05:00
arookas
9e3597c925 Added quote blocks 2016-03-02 02:09:13 -05:00
arookas
164feee319 Renamed .dynsm to .sym
It's not exactly an ELF binary, and it's called sym in SMS so I may as
well stay consistent.
2016-03-02 02:02:53 -05:00
arookas
cdda059187 Removed version number 2016-03-02 02:01:52 -05:00
arookas
cf29860009 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2016-02-23 00:42:01 -05:00
arookas
2f4b466e57 Fixed: typo in capture scope 2016-02-23 00:41:02 -05:00
arookas
6cebb9dae9 Merge branch 'master' of https://github.com/arookas/ssc 2016-02-22 22:21:33 -05:00
arookas
49a4967432 Updated preview image with new syntax 2016-02-22 22:21:30 -05:00
arookas
25702d2c79 Merge pull request #1 from arookas/dev
Overhaul of constants
2016-02-22 22:09:01 -05:00
arookas
d88d113718 Updated language documentation 2016-02-22 22:00:58 -05:00
arookas
5e25a1aada Refactored functions
The decompiled versions were inconsistent.
2016-02-22 21:42:49 -05:00
arookas
c56444d7ca Renamed system-flag constants 2016-02-22 21:38:55 -05:00
arookas
5575681124 Reordered modifiers enum 2016-02-22 21:05:14 -05:00
arookas
b7ec1a0273 Updated const definitions 2016-02-22 21:05:02 -05:00
arookas
17157e177c Added const modifier to grammar 2016-02-22 21:04:13 -05:00
arookas
a676f9e8e5 Merged sunConstDefinition and sunVariableDefinition
Now sunVariableDefinition declares either a constant symbol or a
variable symbol, depending on the appearance of the 'const' modifier.
2016-02-22 20:53:40 -05:00
arookas
d7ce89ca9a Added check against constant declarations 2016-02-22 20:52:41 -05:00
arookas
6fe9de3af5 Added check against local builtins 2016-02-22 20:46:08 -05:00
arookas
f3fc69c870 Fixed: store modifiers in symbols 2016-02-22 20:45:30 -05:00
arookas
5163c94e3a Removed compiler parameter for relocations
Since relocations are linked with the binary formatter directly, and
each already does a keep/back restore, no point in doing that again when
closing them.
2016-02-22 20:43:44 -05:00
arookas
799b6e5093 Removed unused constructor 2016-02-22 20:42:34 -05:00
arookas
e69d97478d Renamed keyword nodes to modifier nodes 2016-02-22 20:27:30 -05:00
arookas
8db3326005 Made a modifiers switch block 2016-02-22 20:26:41 -05:00
arookas
040091efca Removed node generation for constants 2016-02-22 20:19:43 -05:00
arookas
6bba9894d5 Removed const_definition
Going to make constants a modifier for the variable symbol instead of
their own keyword.
2016-02-22 20:07:21 -05:00
arookas
1ecf0ed2bd Renamed various productions and nodes 2016-02-22 20:00:22 -05:00
arookas
909a5bbf38 Moved image to top
Also reworded the extensions paragraph.
2016-02-22 19:05:24 -05:00
arookas
e31fcecd84 Changed wording.
Since there are custom binary formatters, compiling to the SPCB format
is no longer required.
2016-02-22 17:39:16 -05:00
arookas
6eb3f4f68a Added ST3 syntax definition 2016-02-22 16:35:47 -05:00
arookas
9850d23dc3 Force parentheses for conditional statements
Since for loops require them, might as well be consistent.
2016-02-22 16:35:03 -05:00
arookas
38a2a8a6d4 Renamed keywords array 2016-02-22 16:34:23 -05:00
arookas
a1d3cd3d49 Added support for \r in string literals. 2016-02-22 12:46:22 -05:00
arookas
40891d00d7 Added remaining builtins
The ones from TSpcTypedInterp<TLiveActor> aren't there, because ssc is
based on TSpcTypedInterp<TEventWatcher>.
2016-02-19 14:14:50 -05:00
arookas
b225dabb3d Removed testing shit 2016-02-19 14:05:39 -05:00
arookas
99e7afc610 Minor cleanup 2016-02-19 14:04:40 -05:00
arookas
64d5c57d34 Fixed: another minor typo
Damn, it's always this code example, isn't it? Ugh.
2016-02-16 04:35:52 -05:00
arookas
54d59d3fae Fixed: typo 2016-02-13 23:02:16 -05:00
arookas
306cb5f5fd Added full data/symbol table information to results
I felt this is better than having 5 count properties.
2016-02-13 18:32:53 -05:00
arookas
5de905e9e5 Added clean-functions option 2016-02-13 18:15:18 -05:00
arookas
a51c5d9e8b Changed filter to a direct if statement
I don't like the "filter {}" shit
2016-02-13 18:14:23 -05:00
arookas
cbbb17b9cf Updated binary documentation
As to reflect the recent changes in the point system.
2016-02-12 23:02:30 -05:00
arookas
aeb22bc4ed Major rewrite of relocation and point systems
- Instead of two overloads for JNE and JMP, the relocation overload is
now implemented as an actual relocation (sunJumpNotEqualSite and
sunJumpSite, respectively).
- sunPoint is completely removed, replaced with simple uint.
- Relocations are now associated with a particular binary, instead of
specifying it per relocation.
- Break points and continue points are now relocations, rather than raw
offsets.
- Minor cleanup
2016-02-12 22:58:48 -05:00
arookas
5658eff03f Minor cleanup 2016-02-12 22:53:51 -05:00