Ecosyste.ms: OpenCollective

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

github.com/hoaproject/Compiler

The Hoa\Compiler library.
https://github.com/hoaproject/Compiler

Rewrite the algorithm to build the AST from the trace. Much simpler now.

406b2328e7b02c24a418adec2ae1eadac4b5745b authored almost 13 years ago by Ivan Enderlin <[email protected]>
Finally, compute ID to have the most intuitive behaviour.

df63748291fc91c2b9fab7237ca092c4beb09d84 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Add the isToken() method.

e752517e5a9fa7264d1a7177865646527fb0c778 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Fix arity counting when a token is consumed and fix a bug hard to explain :-).

26270af47bfda6e9848174a76d099e3845367e07 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Use depth of node in trace to fix a last (?) case.

00e75971887a0093086d9b8e06c8e829d76d752d authored almost 13 years ago by Ivan Enderlin <[email protected]>
Add depthInTrace data.

23819d02d12fb7a34b78bb6a02ddcb6d1c99a45b authored almost 13 years ago by Ivan Enderlin <[email protected]>
Restore most of old features of the LL(k) compiler compiler.

A lot of improvements for the ID management (mainly overriding) and AST building
(better arity ha...

bb0129735c726bbb4de8c247261c4210b9025fda authored almost 13 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

1ba2985445d94535475ad86845bea577866063e4 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Remove an empty line.

2b4e65433d085fa0d40b449205eef6edf26f65ae authored almost 13 years ago by Ivan Enderlin <[email protected]>
New LL(*) compiler compiler.

More classes for a higher hackability and more data availability. Unification
and visitors are no...

acd5bf8c1f7e54bacc9e642d894ffe98fc34fde2 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Update API documentation.

211ef4234a6e1bd5b961083f8b30f23ef0cf3618 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Re-pre-compute with a new size when necessary.

5a6afd35643893bb5c399be469bc97b78904513d authored almost 13 years ago by Ivan Enderlin <[email protected]>
Remove hash from dump.

8d6d37ae8f901dd7fae223621ec554f0daf18db1 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Clean code, add iterators etc.

1609646f48eaf09119a520770bfe046fcc6de9e8 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Use coverage visitor as an iterator.

e17bc9a55a7ed49d2df93544d2d23db73caf079d authored almost 13 years ago by Ivan Enderlin <[email protected]>
It works!

40e7d037b9f519df88df2b5f67cf186f1ae983d7 authored almost 13 years ago by Ivan Enderlin <[email protected]>
#merge

f6a6f9d97e66771633a851f9f855ad7c0c5b9a08 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Need a backup :-). #backup

71abd499ac12e1fa1fa8937615799067e0547b92 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Remove the #capturing node in the AST, useless.

43269dc01932805302d681813df0cb28f329463c authored almost 13 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

11836c808fca194924d686028d37d49076f581e6 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Merge.

39ce9cd0e9714b76159ff9097d2d7dc32157d816 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Use the isotropic sampler for tokens instead of uniform(-precompute)?.

242a5a4888f954bef608cd893e1df6de166e919b authored almost 13 years ago by Ivan Enderlin <[email protected]>
Revert capturing behavior.

ebc9ddad44e19ffe5bacf9acdaccba8aa0ed0eef authored almost 13 years ago by Ivan Enderlin <[email protected]>
Do not count #capturing children when counting #concatenation.

cf08ce92b8d1b3c8406f17fb88068730e32037e2 authored almost 13 years ago by Ivan Enderlin <[email protected]>
s/2007-2011/2007-2012/

d3c8d577e067d34d6dfbb6682619ee078d5048c3 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Faster rules treatment.

26ea28a2d1ed3a74d47d4d151add1aa2548f2eea authored almost 13 years ago by Ivan Enderlin <[email protected]>
Sometimes, a token value can be null. We skip them.

be0530ab56eed446aff3b98d98cf463ffe164c49 authored almost 13 years ago by Ivan Enderlin <[email protected]>
rtim() each lines for Windows compatibility.

829138000bfeea3988100b99f7e9ab7297bab666 authored almost 13 years ago by Ivan Enderlin <[email protected]>
Update some features, hard to explain, but who cares? ;-)

48c2df3fb111131eddf018ba1926f76185b5f664 authored almost 13 years ago by Ivan Enderlin <[email protected]>
New meta visitor.

29efee78d3062eda6eb542747276bdd4410f6194 authored almost 13 years ago by Ivan Enderlin <[email protected]>
#merge

9485682077629bcb2bb99c032ec6e9ad5cca6327 authored about 13 years ago by Ivan Enderlin <[email protected]>
Add data dumping.

dfd53e9adfb0758c6a51a0c748cb7fa108c504e2 authored about 13 years ago by Ivan Enderlin <[email protected]>
Add a data attribute to treenode that can be used by reference.

315769e5c3f82c897c6fed7f2bb8fad8da7fb69e authored about 13 years ago by Ivan Enderlin <[email protected]>
Merge (but why?).

246d70831a7939ffe7b67fb2d6354859c882ad7b authored about 13 years ago by Ivan Enderlin <[email protected]>
Complete API documentation.

b26853c3e87aadff3b4e3052215e8c147a8c044a authored over 13 years ago by Ivan Enderlin <[email protected]>
Update according to the previous commit.

bca0c4027f6c89909c1df7933646619cde274419 authored over 13 years ago by Ivan Enderlin <[email protected]>
Extend unification from tokens to rules. It's experimental.

The syntax is as follow:
rule()[i] with i >= 0
(reminder, token[j] for tokens unification).
...

60962d2789765cc247dabd7f1fd7bd64761243bf authored over 13 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

3de3429024b714d398af6279ef3bda3febdb36a9 authored over 13 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

017ac4ebb7e99d56d75a8b01de10f68e7d5cd80a authored over 13 years ago by Ivan Enderlin <[email protected]>
Complete API documentation.

06b92d5cde4f55f46e6aa41781751f693d3ac1ab authored over 13 years ago by Ivan Enderlin <[email protected]>
Token “node” must be present in the AST.

9743355f11f8c1bc24660ce517ead8997b0460a8 authored over 13 years ago by Ivan Enderlin <[email protected]>
Change authors.

2f9098fd149bd7e558a7df44781014e18f7c5f4f authored over 13 years ago by Ivan Enderlin <[email protected]>
Update exceptions.

b93e9fc92fa33e8b3f32e11805af9aae851a4f56 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add the meta visitor.

57d6b9c3b89203d0d01d99b9123345d2456dbbd1 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add the getRootRule() method.

4d39c9c449d6ca3ad7040b981ad7b21b0b85004a authored over 13 years ago by Ivan Enderlin <[email protected]>
Welcome to the official grammar of \Hoa\Compiler\Llk; not used by this last one but useful to make a meta compiler compiler.

0060b09b256bcbf149732f22291841582ab8c116 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add getRules() and getTokens() methods. Fix an issue when writing a partial rule. And finally, update exception message by adding grammar filename.

f1e94464a06c47f7054846ef82657a9191456227 authored over 13 years ago by Ivan Enderlin <[email protected]>
Restore debug is in the bad place. Fix it :-).

511b68a2668b285d6162ef98ef3128b83a94d0e0 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add context support in .pp files.

We give an example of context:
%skip space \s
%token lt < -> ...

547189e67876c2ba52ed6d49bdb5000f6bbbe50b authored over 13 years ago by Ivan Enderlin <[email protected]>
Fix an issue if no skip token is given.

70eb8c21db6c7c28e85ca6b883e7c37c9f500a40 authored over 13 years ago by Ivan Enderlin <[email protected]>
Remove confusion between rulesTokens and rulesToken.

08bc72b2ff7922ef9849bf11cc1c845a252af558 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add unification feature (as Prolog meaning) and context feature.

An example about unification:

%token a "|'
%token b \w+
#foo:
::a:: <b> ::a::

It wi...

89bdd6f78ba95e4620d959bee491a98c6f440c66 authored over 13 years ago by Ivan Enderlin <[email protected]>
PHP namespaces cause errors in DOT compiler.

33bd5952efc71d262ea84c50648d05b703e02e54 authored over 13 years ago by Ivan Enderlin <[email protected]>
Fix a backtracking bug.

ca75a5ce0a26a1a178d50bd2e4fa44a673792e61 authored over 13 years ago by Ivan Enderlin <[email protected]>
mv Compiler/Visitor/Realdom.php Regex/Visitor/Realdom.php

c57c3b4084c76dc42c787e7dac80e448a8d4b4ce authored over 13 years ago by Ivan Enderlin <[email protected]>
Remove dump() method (we have a dedicated visitor now). Add getValueToken() and getValueValue() methods.

62336493290f4d02086f674d7905c977ec12c52d authored over 13 years ago by Ivan Enderlin <[email protected]>
Early draft of a visitor to interpreter the AST as a realdom according to a \Hoa\Test\Sampler.

02418643f692243a02328aa16b80ce6f523a8943 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add exception for visitors.

51aca2a0a08b2ea7702ecdc63139d733da1bd086 authored over 13 years ago by Ivan Enderlin <[email protected]>
Complete API documentation.

0b83340ff912e26807643bd52ca108f7ed542726 authored over 13 years ago by Ivan Enderlin <[email protected]>
Implement visitor with \Hoa\Visitor.

8578ea6712f0bdb8963d0e324ebdd02897c53e17 authored over 13 years ago by Ivan Enderlin <[email protected]>
Remove a useless method.

10f5534493ed808ee8ce562828b9a1663ee125ff authored over 13 years ago by Ivan Enderlin <[email protected]>
Update SKIPPED_TOKEN, KEPT_TOKEN and RULE_NAME.

df0ac098b428a76b54cc3de6918e8185f183e237 authored over 13 years ago by Ivan Enderlin <[email protected]>
Comments everywhere.

374195194c3debd907249cb5e6f0042b348eef44 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add inline comment support.

25a79336ee52bdfb9cf379cb45c75ca4a6a18d45 authored over 13 years ago by Ivan Enderlin <[email protected]>
Oops, fix a poor variable name issue.

d3dc33c87fd673c2962506682501e1f16bac28fd authored over 13 years ago by Ivan Enderlin <[email protected]>
Add UnrecognizedToken exception.

1811ade1a6d7e92db2dd69c0dd7aaa262ca90c0f authored over 13 years ago by Ivan Enderlin <[email protected]>
When parsing, build an AST by default.

When parsing, if no rule is given, the auto-select rule algorithm has been
optimized and now supp...

98b51ecd1d94d2d5104c553f930b1cf62a41d2a0 authored over 13 years ago by Ivan Enderlin <[email protected]>
Format code. #mania

87334c5156916f05ef321601b2ae29c9a09e4b4e authored over 13 years ago by Ivan Enderlin <[email protected]>
Add MIME type.

b027c723a6788ad95fb1ffeb176c29e0ba8aca72 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add the load() static method to load grammar from an external file (please, see

the API documentation for an example). Update code for optimisations.

de8a652e0d1eeeee55fd469650fe8715e0facaa1 authored over 13 years ago by Ivan Enderlin <[email protected]>
Add IllegalToken exception instead of Exception when lexing.

fd47d2ebda49a4fdbc2b9b37aba6ed59b40369fc authored over 13 years ago by Ivan Enderlin <[email protected]>
Welcome to \Hoa\Compiler\Llk \o/, a generic LL(k) parser (which build an AST if needed). Performance by Frédéric Dadeau (please, see @author).

9b9b08a82f72a6c15ee2f938170617034b592e37 authored over 13 years ago by Ivan Enderlin <[email protected]>
Format and simplify code. #mania

55bc7061dbea71c4a9f9c10dfe864f3365d488ed authored over 13 years ago by Ivan Enderlin <[email protected]>
mv Framework/* .

7e1c332efd9616c28572231322a1d41dc6833682 authored over 13 years ago by Ivan Enderlin <[email protected]>
Change ENDERLIN to Enderlin '-.-.

79e9d02b13f7c07bd79c3859b9b163423133aecf authored almost 14 years ago by Ivan Enderlin <[email protected]>
Finally, change (c) for ©, we save 2 bytes ;-).

2ade4e59eae581ad73bb6be50ea012f8d05ffec7 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Remove ambiguity about copyright: 2007, 2011 to 2007-2011.

5811a84bd8412775ef0fd67be790989c54b00b29 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Change licence clause from GNU GPLv3 to new BSD.

bbca84ef504b290d988b1605e02fd3a3c9b2906c authored almost 14 years ago by Ivan Enderlin <[email protected]>
Change license block from GNU GPLv3 to new BSD.

c8bbe0fbbca327b5220ebdd4838f3a589fcee1b2 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Resolve conflict.

0c14b70fb56274c71adefb7e7057a005e1fe74e4 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Merge.

e0f97f823acda244b6849817534c6a01c78885fd authored almost 14 years ago by Ivan Enderlin <[email protected]>
Remove “Hoa Framework” mentions for simply “Hoa”.

9c962774bd1a2510fac42ce1fb1d7584fe095772 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Extend copyright to 2011.

44232c10b5210f862a2d1eeb752115392b01cff1 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Update to PHP5.3.

444821ffe750384510f3608e52cf70027b2ecf8e authored almost 14 years ago by Ivan Enderlin <[email protected]>
Change Hoa_Exception for Hoa_Core_Exception.

5dddf659f18f079c5f5df18a82b767b48e5b2c49 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Foobar

761c040ef4b81aed351e4ee8998786f684712e75 authored almost 14 years ago by Ivan Enderlin <[email protected]>
Add partial support of Unicode (for regular token).

d04f6986b35aa2d6476977b8395c6ad7829011f0 authored about 14 years ago by hywan <devnull@localhost>
Remove the require_once 'Core.php' instruction to remove all include_path dependencies.

c4967911f3507ed8e71509cb70de7b6902fbda5a authored about 14 years ago by hywan <devnull@localhost>
Remove a useless instruction.

15b53fcaae3ea8b23e1b23cd6681d5d4fc995bb4 authored about 14 years ago by hywan <devnull@localhost>
Fix a typo in the API documentation.

c7e33468beac9ebb6f93720f3b9231847b0dd86c authored about 14 years ago by hywan <devnull@localhost>
Change Hoa_Framework for Hoa_Core.

8d7cba750e3ff07a3ea837971d8a65538992abe4 authored over 14 years ago by hywan <devnull@localhost>
Add a light cache.

6f26482ad8eb34484f44407d49d4bda3fdd34d9e authored over 14 years ago by hywan <devnull@localhost>
Constants GO and __ must exist and not be defined before.

ab8772bbeea5ef5b758855cce95eaaf66dc48e76 authored over 14 years ago by hywan <devnull@localhost>
Change copyright year.

11ac3f39277bfad9d1aaed0c7c52d7132952622e authored over 14 years ago by hywan <devnull@localhost>
Add auto-buffering in buffer -1.

95a2c40016231474f7afcd6dcbe6d847c841fe27 authored over 14 years ago by hywan <devnull@localhost>
Reset buffers when compile again.

355ee43b52f3b42804e34dd40cf0a6ef7b3e91a5 authored over 14 years ago by hywan <devnull@localhost>
Change initial value for $nextToken: enable to have an epsilon-transition on the first state on the first automate.

a487066dcb7b9cf2a026e6ff03dd534b68b5ad18 authored over 14 years ago by hywan <devnull@localhost>
Forget a space into an exception message.

0bc76a4a704e19530d8c1668b82869639cb12df5 authored over 14 years ago by hywan <devnull@localhost>
Complete API documentation according to the latest revisions.

d8c7f385a85aac758da7d9b7790cfb0c77622339 authored over 14 years ago by hywan <devnull@localhost>
More consistence DOT (epsilon-transitions are marked in the node label, not as an empty-arrow from this node).

f0d6b245560cbf6731efa519879d6c33ad0b54a7 authored over 14 years ago by hywan <devnull@localhost>