Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/thpatch/thtk

Touhou Toolkit
https://github.com/thpatch/thtk

thecl: It's not unlikely that users will name one of their ins as "return", so give them a warning about it

021861924bee90ced905abd2bdc7ba544cc46462 authored about 5 years ago by ManDude <[email protected]>
Merge branch 'thecl-typed-variables' of https://github.com/thpatch/thtk into thecl-typed-variables

465b19b4492cd78f0d3d1a1ca9c8dbfe8f28ef01 authored about 5 years ago by ManDude <[email protected]>
thecl: Do not look for variables when outside sub scope

82d54bc5a8703fc3cb9b378ba1215b67a3b34352 authored about 5 years ago by ManDude <[email protected]>
thecl: useless line? compiled just fine

7f8e68255fba04a36723f018480a630cb1825dd3 authored about 5 years ago by ManDude <[email protected]>
thecl: don't throw warnings

2980f3f61c1f19bd2dc0318f729988be4c7cb290 authored about 5 years ago by Priw8 <[email protected]>
thecl: update time after inline sub calls

228ce4750bb487d1098a5bdab73a259fba399019 authored about 5 years ago by Priw8 <[email protected]>
thecl: improve switch statement

- store passed expression value in a temporary variable (needed if expression contains stuff lik...

de4539a40303372d5a36f48507c9770227bb48ec authored about 5 years ago by Priw8 <[email protected]>
thecl: remove TODOs that were already done

30aaff28bdea7e4fa5d2a94274c84dc38376ace7 authored about 5 years ago by Priw8 <[email protected]>
thecl: reuse variables created by times loops

532911b48e1dead5eece44346d391c11fb7530cf authored about 5 years ago by Priw8 <[email protected]>
thecl: implement variable scoping

c4e88914904fc203d7722ca135275d772b9743dd authored about 5 years ago by Priw8 <[email protected]>
thecl: change global definition syntax

3eb6358af1eb3cc17c5dc93100f024de00096b3c authored about 5 years ago by Priw8 <[email protected]>
thecl: add inline sub calls, bug fixes

cf393901a3798ba4e189797123ec82055f31ad0f authored about 5 years ago by Priw8 <[email protected]>
thecl: remove jank

93bf9e15f267422d8d9a1a2291ea8fb29d5c28e2 authored about 5 years ago by Priw8 <[email protected]>
thecl: fix parameter casts in sub calls

4338a13b2a4ddce04347d8d0490f691e57713c32 authored about 5 years ago by Priw8 <[email protected]>
thecl: typed functions, return values

A bit of an experimental feature - makes thecl utilize the I3/F3 variables as return registers, ...

ddae36758c173751ad8715d814e62c969c984be6 authored about 5 years ago by Priw8 <[email protected]>
Update ecsscan.l

b626fe2b7923896a3742fc1be02a004cd2f88ea0 authored about 5 years ago by ManDude <[email protected]>
thecl: whoops (who uses this anyway amirite)

c28e0ec16a6d0ad8071e866746188a44ed04524d authored about 5 years ago by ManDude <[email protected]>
Merge pull request #61 from thpatch/thecl-typed-variables-betternum

thecl: better number and rad handling

5c4c43044eeec26bf2ef6b489c8d8274dd098fef authored about 5 years ago by ManDude <[email protected]>
thecl: derp

4895c13c277d763fea7f29d7cb99096dee56a7c0 authored about 5 years ago by ManDude <[email protected]>
thecl: fix parse bugs + relative times confusing new +int parse

a34bc2eb0ae748cacf2d46c865d37ad74c36bd72 authored about 5 years ago by ManDude <[email protected]>
thecl: better float and rad value handling

thecl does not make the distinction between doubles and singles (one can be added later, like wi...

069cfe1c6d8a4536ff14c4137f599667ba78c49b authored about 5 years ago by ManDude <[email protected]>
thecl: don't require time for gotos

c64ee0f4cedc21ad78f923d1f8a4dfd6f70baa28 authored about 5 years ago by Priw8 <[email protected]>
thecl: dump absolute time in a comment

e0f4be297c42438c339de2ac1e96a0d5b0f5dfb8 authored about 5 years ago by Priw8 <[email protected]>
thecl: fix h mode fprintf even more

8b0100ac6674d11e7dd2722c465c6c420ff410cb authored about 5 years ago by Priw8 <[email protected]>
theck: #instr -> #ins

fbabc4cf298058c8ae7e48bc4d18f2baaa7534c8 authored about 5 years ago by ManDude <[email protected]>
thecl: add #ins directive

It can be used to add custom instruction formats in ECL source files:
#ins "2000 SSf"
then, you ...

d967f89f0e8891bf166bb806f3eef89c8360b909 authored about 5 years ago by Priw8 <[email protected]>
thecl: fix label generation,, relative time labels

fad1b960580845064de94baff86640ba6aff3f2e authored about 5 years ago by Priw8 <[email protected]>
thecl: Fix h mode fprintf

also shuts up visual studio for a couple lines

af39e2ea55318e5038e26ffaea5d716b1f94e7e5 authored about 5 years ago by ManDude <[email protected]>
fix th06 label generation for an edge case

bb0655a59e2279181c3590712ea5f0759e9c1891 authored about 5 years ago by Priw8 <[email protected]>
verify sub call params, syntax for callAsyncId ins

734129266cf7d2ac140b2df7468c9e92bd9089b7 authored about 5 years ago by Priw8 <[email protected]>
thecl: improve th10+ dumping

- use sub call by name syntax for ins11/ins15 dumping
- don't dump useless typecasts in ins call...

144ac3c91fa226822beae63b116e6235334bc407 authored over 5 years ago by Priw8 <[email protected]>
thecl: better ins11/ins15 call creation handling

basically now all typecasts work correctly when creating a sub call by name. this means that the...

51c2631b337d264bd04a850d694a7a1a9e64dcbd authored over 5 years ago by Priw8 <[email protected]>
thecl: better var dumping, fix things

9c6bfedeccecae3b56d57a3b1ee0d95bbd78a5df authored over 5 years ago by Priw8 <[email protected]>
thecl: use ins numbers from defines

86932b6c95f2e4ea94d15db620032992953a4a77 authored over 5 years ago by Priw8 <[email protected]>
thecl: specify token associativity and precedence

I have doubts whether the person who originally wrote this knew how it worked

1c8fac906f5907555b27ad66b05fc863346eb60c authored over 5 years ago by Priw8 <[email protected]>
thecl: add ternary operator, fix stuff

dec9b279133ccb5a577d5a4c06f0720c9a4154e8 authored over 5 years ago by Priw8 <[email protected]>
thecl: allow expressions in diff switch

6d98424a2c1a98724afb7d28a9b5cb65c2e8e3db authored over 5 years ago by Priw8 <[email protected]>
thecl: add Expression_Safe

6affb267788ec0807a7b6c2d57bf39afe85ba154 authored over 5 years ago by Priw8 <[email protected]>
thecl: use eclmap variable definitions in pre-th10

e883dede28a39d6be7b432c76d459385e450394e authored over 5 years ago by Priw8 <[email protected]>
thecl: better th06 sub name handling

now you can add/remove subs from dumps without everything exploding

7f89fa5bdad66ac603a0038f8ba273e591bb82b6 authored over 5 years ago by Priw8 <[email protected]>
thecl: add labels to pre-th10

f0190b25620d4a305876b859022fc5810cc0f57c authored over 5 years ago by Priw8 <[email protected]>
thecl: remove useless stuff

767fb89b554be3ec3dfdd4393e5de6052f66db2b authored over 5 years ago by Priw8 <[email protected]>
thecl: add proper pre-th10 timeline dumping

timeline opcodes can be named in eclmaps by using "@" instead of "?"

8152e3d43353ed2315b7995362b1500101227faf authored over 5 years ago by Priw8 <[email protected]>
thecl: add single-line comments

4749fca7971a49d86ff61bfb59e8334fb558a8ca authored over 5 years ago by Priw8 <[email protected]>
thecl: fix switch statement

It was interfering with the difficulty switch expression

7c423fe23ce67818f616d4e4c5427bb1e3bc8658 authored over 5 years ago by Priw8 <[email protected]>
thecl: add #eclmap

fa516d1f32327254e5fdb887aab6a742f64a5331 authored over 5 years ago by Priw8 <[email protected]>
thecl: fix #include path handling nonsense

7a6e22ceb96c3a2b16c44c3296a6715bffcafc5c authored over 5 years ago by Priw8 <[email protected]>
thecl: fix diff switch typecasting, allow vars

f82ba20acc3fae429a264551561ecf066184c66e authored over 5 years ago by Priw8 <[email protected]>
thecl: use is_post_th13

cdc0d2ee1418d006ee062d09f79f7b30ef9efaa8 authored over 5 years ago by Priw8 <[email protected]>
thecl: whoops

a9ad5cfce43c364aae406473e476b712178559fd authored over 5 years ago by Priw8 <[email protected]>
thecl: fix goto generation for while/times/if etc blocks

2b6a39bb5a091fcf98bae8c6900d1b80f411b13a authored over 5 years ago by Priw8 <[email protected]>
thecl: of course

f00e5ece84ec86fce078621eeadef43106f7e58a authored over 5 years ago by ManDude <[email protected]>
thecl: fix labels being detected as variables

a075226ba6be367dbfb475a5c0c21ea75c29ee64 authored over 5 years ago by Priw8 <[email protected]>
Merge pull request #60 from thpatch/master

Couple bug/format fixes

0995ae941ab3404cddd4ca5741f85dc4627497f3 authored over 5 years ago by ManDude <[email protected]>
thecl: U shouldn't error out on S

fda9b4e15172fb347a07d39ad341bce7b2d06bab authored over 5 years ago by ManDude <[email protected]>
thecl: use unsigned for colors

0fafccef70c9ded152941e325b6b014f5943ee12 authored over 5 years ago by ManDude <[email protected]>
thecl: change color formats for now...

58ec63cee8496787d1fc216c0264ae15febf2bbe authored over 5 years ago by ManDude <[email protected]>
thecl: revert some changes

eb45067526ce59bddf8b81a5cf630a78a2d0ba58 authored over 5 years ago by ManDude <[email protected]>
util: Update value.c

6fc015e489dcba5f312b8f5db38099b855eb01ab authored over 5 years ago by ManDude <[email protected]>
thecl: add #include

11cc3e4e0e9c12491225258314cbed31951cb07f authored over 5 years ago by Priw8 <[email protected]>
thecl: Fix "C" format specifier

4cd17695c1c90e8cc232d558c2f57464cd48c046 authored over 5 years ago by ManDude <[email protected]>
thecl: fix th13+ NEG expressions, fix -r option

e97f23a4ec5f225a9179a2647c2c691d8b171bcc authored over 5 years ago by Priw8 <[email protected]>
Update .gitignore: Ignore .vs folder (useless visual studio things)

6d7ca06d8fe92b4a6b3b566f9b2f3b7e06e1393d authored over 5 years ago by ManDude <[email protected]>
thecl: simple math preprocessing, fix shorthands

I'll be suprised if this doesn't break anything. Also, simple creation mode is now required to r...

239d7f90ef550a6a51649d2631948faf2fa297df authored over 5 years ago by Priw8 <[email protected]>
thecl: add semicolons

ccc77fdda414809441fb8d82ec4d1322914cd6d7 authored over 5 years ago by Priw8 <[email protected]>
thecl: add shorthand operators

13dc4a7c3f0e291e604bf9ad9eb8d7b479245ff3 authored over 5 years ago by Priw8 <[email protected]>
thecl: improved code-block things

b7ec0f368a320f9d110c7814b566b12863cf41b9 authored over 5 years ago by Priw8 <[email protected]>
thecl: typed variables

602894889f960e319552eebf648a9219ddfc73d1 authored over 5 years ago by Priw8 <[email protected]>
Merge pull request #59 from Priw8/master

Some new features and bug fixes in thecl

5e0318cc1a6377e3a0a9b09141954ce5de17f6e3 authored over 5 years ago by 32th System <[email protected]>
thecl: error on stack variable creation in pre-th10

06758a0617ca535f2c1c5260c07805a9af6200e3 authored over 5 years ago by Priw8 <[email protected]>
thecl: fix pre-th10 difficulty flag dumping

8a520b073cb39415aade726c978c9f485d76abb0 authored over 5 years ago by Priw8 <[email protected]>
thecl: fix break statement

13218644aef38a80678a5e3e3fe5e3933f4e4f8e authored over 5 years ago by Priw8 <[email protected]>
thecl: define call ins numbers

315ac25d1f8837145f5a84f93176ede8ad5fd6a1 authored over 5 years ago by Priw8 <[email protected]>
thecl: change forced sub calls by name syntax

6fb8f92390af217aa01aeb146e0b81db754e2af0 authored over 5 years ago by Priw8 <[email protected]>
thecl: don't require instruction after rank setting statement

done because such code
-----------
!NHL
GirlA01_at() sub;
!*
while(1)
{
wait...

e3c818782a043ad93f15cc56494aafd956a811ff authored over 5 years ago by Priw8 <[email protected]>
thecl: break statement for times loop

65ca66690d5f30034a581490e321dd5b9ca3bb41 authored over 5 years ago by Priw8 <[email protected]>
thecl: better diff switch code

284e1a00235c5c623a7bb3ba09e2a54b85d3bf47 authored over 5 years ago by Priw8 <[email protected]>
thecl: add simple creation mode

The recent changes I made resulted in dumped ECL files not necessarily being exactly identical a...

f4fe2b8c4251dc99de5d904edfb6663c2aad2355 authored over 5 years ago by Priw8 <[email protected]>
thecl: get ins numbers from expr symbols/defines

e3acf543c3ff2a4edb823ce148155b09e5ce964e authored over 5 years ago by Priw8 <[email protected]>
thecl: add "times" loop known from ZUN's ECL

c07e3728d0bb93372ac2c39963d8e6e2f1d674dc authored over 5 years ago by Priw8 <[email protected]>
thecl: no overdrive in pre-th13 diff switches

0ed96887bbd809b938c7d2f1e09ad1c087412869 authored over 5 years ago by Priw8 <[email protected]>
thecl: improve short difficulty switches

9ffc7425ae0019340bbf3cce6d57b302f58fbf83 authored over 5 years ago by Priw8 <[email protected]>
thecl: better difficulty switch expression

60b6a3b1cf7c185dc3660314582a6d7a7c4297e2 authored over 5 years ago by Priw8 <[email protected]>
thecl: error when a variable is redeclared

33d82ab8c17be420e88a0dcb4c75c400cc697b37 authored over 5 years ago by Priw8 <[email protected]>
thecl: set time of ins_40 to 0

eb7340ac566470274a5d61848e3e7b06f636e0f6 authored over 5 years ago by Priw8 <[email protected]>
thecl: check version for automatic ins adding and difficulty switches

387684561a935ae89ecf6535d8cf16582fd32ffd authored over 5 years ago by Priw8 <[email protected]>
thecl: automatically add ins_10 if there is no ins_10/ins_1 at the end of a sub

8f23627b21ed2a7f6f42050a3f177cbf1d150964 authored over 5 years ago by Priw8 <[email protected]>
util: add list_tail

e9b899f9abd065c344be746b9e8886b03d866c8e authored over 5 years ago by Priw8 <[email protected]>
thecl: fix difficulty switches (how did that ever work for me!?)

ca9634cae5b293a8957d7fe54ea80023906dce72 authored over 5 years ago by Priw8 <[email protected]>
thecl: fix sub calls by name that don't contain any parameters

9841d89d4746f8050bf1d8114f59e86c32cf4649 authored over 5 years ago by Priw8 <[email protected]>
thecl: declare and assign values to vars at once

c59777c68f2004296bf2ee8e3d74aeea0b5bf31d authored over 5 years ago by Priw8 <[email protected]>
thecl: allow var declarations anywhere in the sub

5fe9ac510fc01afe4329ef09a71531d87229bee1 authored over 5 years ago by Priw8 <[email protected]>
thecl: add forced sub calls by name

d70bd9b0acdbfcb381180b6025bb198907891bad authored over 5 years ago by Priw8 <[email protected]>
thecl: fix passing expressions to sub calls by name

323765fa8b2e71c10860917f7c3bebd61a3c05c7 authored over 5 years ago by Priw8 <[email protected]>
thecl: this way of writing degree floats should be less weird

50deg + 1.0f should not be valid syntax, now it's rad(50.0f) + 1.0f which doesn't look weird

77825e1d1ad36d7466232654fd178694d1b0a75d authored over 5 years ago by Priw8 <[email protected]>
thecl: add syntax for writing binary integer literals

27c53b63511c8f205e82c27e8a9923224108f56f authored over 5 years ago by Priw8 <[email protected]>
thecl: syntax for writing degree-floats (auto converts value to radians)

b6fbf4a9e5776acf5b3b1577166a4a7999838921 authored over 5 years ago by Priw8 <[email protected]>
thecl: Don't force typecasts for instruction calls

348d4f344c55af87be80bb321963521edec2993e authored over 5 years ago by Priw8 <[email protected]>
thecl: Add ZUN-style difficulty switches for writing custom ECL

7ccbecd7559069f5cc5dbc54d4392e6faafaa373 authored over 5 years ago by Priw8 <[email protected]>
everything else: Fix tab spaces

24826bfa21b070bf8e0b57d85fecae4c0cc3cb9a authored over 5 years ago by ManDude <[email protected]>