Giter Site home page Giter Site logo

antlrphpruntime's People

Watchers

 avatar  avatar

antlrphpruntime's Issues

added backtrack option

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

import changes from Rolland Brunec

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

Error with @lexer::members

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

Project forked

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

Question

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 support

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

Development stalled?

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

Global Error

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:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.