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
arookas
743598e148
Updated compilation documentation
2016-02-12 22:53:32 -05:00
arookas
a4e0af193e
Updated arookas library
...
Now it uses the public repository, making syncing updates much easier.
2016-02-12 22:53:18 -05:00
arookas
7af004c617
Removed arookas library files
...
Going to add a dependency on the public repo soon
2016-02-12 22:40:06 -05:00
arookas
75cde56e2c
Added lib-dir premake option
2016-02-12 22:39:25 -05:00
arookas
faeac9bb4e
Fixed: grammar bug with name labels
2016-02-12 21:31:38 -05:00
arookas
77e5b1f858
Renamed to sunSymbolRelocation<TSymbol>
2016-02-10 21:26:20 -05:00
arookas
0680e9778b
Renamed to sunSpcBinarySection
2016-02-10 21:23:24 -05:00
arookas
636bcbc3a0
Added extension documentation
...
Man, I hate writing documentation. I feel like this should be on a wiki
instead, but fuck creating one right now.
2016-02-07 19:02:39 -05:00
arookas
aba59feba4
Removed unused WriteSymbol overload.
2016-02-07 18:54:39 -05:00
arookas
99ef85deb3
Renamed resolver API methods
2016-02-07 17:02:34 -05:00
arookas
2bab0f4389
Added binary parameter
2016-02-07 16:29:03 -05:00
arookas
3401e82667
Fixed: use the field, not the property
2016-02-07 16:20:01 -05:00
arookas
4d7c1da517
Made sunBinary extendable
...
Now custom binary types are possible
2016-02-07 16:19:23 -05:00
arookas
b7126c1334
Added sunPoint and sunSymbolType public
2016-02-07 16:18:40 -05:00
arookas
e90ecf89a8
Added reverse implicit operator to sunPoint
2016-02-07 01:04:29 -05:00