nevernet / antlrphpruntime Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/antlrphpruntime
Automatically exported from code.google.com/p/antlrphpruntime
Parser018Test.php's class should be named Parser018Test
Original issue reported on code.google.com by [email protected]
on 26 Oct 2012 at 6:21
Purpose of code changes on this branch:
I needed a backtrack option enabled in one of my grammars[1].
After the review, I'll merge this branch into:
/trunk
[1] http://github.com/rollxx/manchester-syntax-owl2
p.s. Unfortunately i figured out only now, that Php.stg was not fully updated
in trunk in my previous
merge.
Original issue reported on code.google.com by [email protected]
on 7 Mar 2010 at 10:30
Lexer::matchAny currently shadows BaseRecognizer::matchAny which has a
different type signature.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2010 at 4:34
Purpose of code changes on this branch:
This branch contains updates from Rolland Brunec, taken from his git clone
of this project at http://wiki.github.com/rollxx/antlr-php-runtime/
When reviewing these code changes, please focus on:
Any objections against merging these changes into trunk and giving Rolland
commit access.
After the review, I'll merge this branch into:
/trunk
Original issue reported on code.google.com by geoffspeicher
on 14 Feb 2010 at 1:19
What steps will reproduce the problem?
1. Create a @lexer::members rule
2. add a variable inside like
var \$nberrors = 0;
3. Build
What is the expected output? What do you see instead?
I get this error :
error(111): grammar.g:7:10: reference to attribute outside of a rule: nberrors
What version of the product are you using? On what operating system?
I'm using the svn version (0.0.3 in version file), revision 60
Original issue reported on code.google.com by [email protected]
on 7 Nov 2011 at 10:44
Hi,
I know there is millions of forks going on already, but now there is yet
another: https://github.com/Smarre/antlrphpruntime
I would’ve contacted antlr team about this but I don’t see any way to
actually do it. I took the modifications as mentioned in README and have built
some helpers and other utilities to get this usable easier. Any feedback is
appreciated.
If you want to merge that repo to this one, feel free, but I don’t have
history but for my own changes so you’d need to convert modifications done by
Ken to proper commits first, if you are going to maintain commit history sanity.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2012 at 9:28
I was looking for a project like yours and I wanted to ask you, if you would
like to integrate it into a full OOP PHP 5.3 Framework called Blaze Framework?
I would like to help you developing this, because I really need a good parser
technology in that framework, and ANTLR is the best.
As you maybe ask yourselves, "Why should I do this", I can tell you, that you
have a really big framework to work with which uses namespaces and has a lot of
nice features. This pre done work can be very usefull for you! I don't want to
bind your work to the framework, so you have free hand and can develop any
features you like. You would only have to follow some simple rules concerning
the architecture of the API. Just have a look at the framework and let me know
if you are interested.
http://sourceforge.net/projects/blazeframework/
Original issue reported on code.google.com by [email protected]
on 9 Sep 2010 at 9:15
Multibyte characters cannot be recognized in input stream (for example,
chars with accents: é, à).
(Used version: 0.0.3)
Possible solution:
- Do not use "$string[$index]" to obtain char
- Use "mb_substr($string, $index, 1, 'utf-8')" instead. (In that case input
should be converted to UTF-8 at first.)
Additional check for multibyte extension presence can be done:
<pre>
if (function_exists('mb_substr'))
$char = mb_substr($string, $index, 1, 'utf-8');
else
$char = $string[$index];
</pre>
Original issue reported on code.google.com by [email protected]
on 11 Apr 2010 at 8:15
Hi there,
I made a few changes to php runtime, so i could use it in the project i'm
currently working on.
Unfortunately I didn't get any answer to my email to Sidharth on 23. November
2009, so I cloned
the project on github and committed my changes there [1]. I hope you are
interested in my
enhancements.
Regards,
Rolland
[1] http://github.com/rollxx/antlr-php-runtime
Original issue reported on code.google.com by [email protected]
on 31 Jan 2010 at 12:21
Hello,
I'm using this runtime to parse Wiki to LaTeX in a little online application.
Integrating this with Zend Framework, when I include the 'antlr.php' file, the
global used in DFA construction returns *null*. This only works when I include
the file at root of my application.
Opening the source, I found 'Php.stg' and I change it, using external function
directly. I works fine.
Patch attached.
Can you analyse this?
Thanks!
Original issue reported on code.google.com by [email protected]
on 27 Jun 2011 at 1:39
Attachments:
Make it compatible with frameworks that load libraries dynamically
Original issue reported on code.google.com by [email protected]
on 10 Nov 2011 at 11:05
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.