Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hoaproject/Praspel
The Hoa\Praspel library.
https://github.com/hoaproject/Praspel
63898995a0ef49ec3d38d8370ae252520c28f1ab authored over 11 years ago
9b38d6291ab08aadf4c565e6f9b218f689920688 authored over 11 years ago
dcd6e1ec54b7f75eacb365dacf4cb08462410e8e authored over 11 years ago
c30d77fc85dc04a21ac5eadc8cffe202a4b36ce7 authored over 11 years ago
Given a set of variables, for example:
@requires a: 'one' or 'two'
and b: 'thre...
6b0d9057d86bd43d7d08b21fede4ea52590450d3 authored over 11 years ago
2243b1d35251fec370e853ff503ec2c6b6491915 authored over 11 years ago
f60d01b2519abbf3e066ad278c0dd762d25537e7 authored almost 12 years ago
An easy way to iterate over data described by Praspel.
0b9162f8932d15eb446012d192c323b75577b58c authored almost 12 years agoc4b719a500549b6b5049820cc26c0a62e01ffe11 authored almost 12 years ago
59c0d3bcef0d198d069ee980fa73384d814c1bd8 authored almost 12 years ago
A weak stack is a stack where null elements are not iterated. Example:
$stack = new WeakSta...
2af5ad6a1369e1c6c810dab998b1eab1215f2349 authored almost 12 years ago73afcad19993e283d0945a3d5be25b8250ef4898 authored almost 12 years ago
The @throwable clause implements IteratorAggregate and Countable.
057439b846af197af8f15e19c4b7adac8bf589ef authored almost 12 years ago3f09de1f24a8eae56f9dd9c3f9169f621d153da1 authored almost 12 years ago
06af2a476900cc20112dda69f36e5f27e323c060 authored almost 12 years ago
bba4b1a8096ca8f061161b9f915cb5483de831b2 authored almost 12 years ago
b855eaf21eb56cb81b84f94f41b417a70f2a3351 authored almost 12 years ago
Example of a contract:
@requires r: 'r';
@behavior a {
@requires ar: 'ar';
...
359c00991c29537c2593fcaec0bf24bca14ae72d authored almost 12 years ago
Clauses can have variables, so that they extend Declaration. But a
specification or a behavior c...
c2c368e07a224f7817c033e9a9761ff0241d76ae authored almost 12 years ago
The @forexample has already a semantics defined in JML. Our @forexample
clause has a complete di...
453e6fcdd3bab20a8b93ffac624ddacef55c90d8 authored almost 12 years ago
eb3820f417adc26ba684a43188c5b011a3aecc32 authored almost 12 years ago
A local variable is a contract variable, it does not represent a data of
the program (class attr...
f9b766ceefeb3c996df7e7758ae878b9bf5b22f7 authored almost 12 years ago
Add the short option .q to quit.
9f6490ca666f01f5c4e50a18faa1994b4e1460a4 authored almost 12 years agoda19316b651c66ed01ea480582f7e4cbbdc6eefc authored almost 12 years ago
c63b23473f006b2d0edd501293b58d3982940938 authored almost 12 years ago
It helps fluid calls, such as:
$specification->getClause('requires')
->ge...
It helps to recognize an invalid escape character, such as: Foo\Bar\Baz,
which is equivalent to ...
828df3699a17085da4882c764df663ce773cc25a authored almost 12 years ago
20557eaaeb02d7e8b967a9f999ecf7d8480d2cac authored almost 12 years ago
ac5c0c83e867712b4c94c253121b02087858a8bf authored almost 12 years ago
80fc59dbdb0771c509a870751fd85cc4b106b267 authored almost 12 years ago
eaa388e022962ee6b639b2fb65c1212c15f93a4b authored about 12 years ago
cac81b37bf1935852ca7a3a1fb8abbda8d3c4d39 authored about 12 years ago
c2c423a7a42ae060947b9e014309ae48d63a8086 authored about 12 years ago
a722f62162f035e92f908b10b02592543d2caadb authored about 12 years ago
155ffa5dad513adaade2ea4e6c41f2808427cea1 authored about 12 years ago
e47d09ad6395efe226b9757c0465028729c4ab82 authored about 12 years ago
8c99caaa0f6c215ab4efc1c2e6a5389fd2f9fa20 authored about 12 years ago
02449c063ed21b60d8e19065d90e27469df2b626 authored about 12 years ago
2c5d61443f0650bfb70df310c7522d0f45c86806 authored about 12 years ago
73e34fffa1bbb2f5ac8ccdccea6900edfd7982c7 authored about 12 years ago
9c6f176e225620010168bd3b0e00eba834074949 authored about 12 years ago
22fa6e5f8f73e283e98c95b64f1d97f5c1ad0172 authored about 12 years ago
Also, prefix clauses tokens by “at_”.
c600c7f731c50442a5b2b9254358a9f85d4f44e4 authored about 12 years agob2b6ddd2703fd4df29d8726ec044fd7edffe40c7 authored about 12 years ago
669a6f97a1a2814870f488fa90628ff0757133b0 authored about 12 years ago
Useful when making an endless interpreter.
2b1f93c291a731797bed28d2cdc112e0a21bd40a authored about 12 years agoc1bdbf7e5773d0a07c6523c9cbe095fa98380d77 authored about 12 years ago
a2430d429c689656655970f697d8350dd1539527 authored about 12 years ago
4b5e99f5003b30d98a7c5f74c3d02b33901af136 authored about 12 years ago