FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 8 matches
Forum Index
Author Message
  Topic: lr parser generator - new release - version 0.2
Ivan Senji

Replies: 0
Views: 48130

PostForum: lr-lalr   Posted: Sat Sep 17, 2005 3:45 pm   Subject: lr parser generator - new release - version 0.2
Available in the download section.

Changed syntax of the grammar definition file.

Now has only one example but it is quite nice and intresting. It is a translator from infix expressions to postf ...
  Topic: Lexer?
Ivan Senji

Replies: 1
Views: 16674

PostForum: lr-lalr   Posted: Mon Nov 29, 2004 5:47 am   Subject: Re: Lexer?
Is there anyway to say:

<decimal> ->

Unfortunately no. At least not at the moment because the algorithm i implemented needs simple rules. But i have been thinking of adding a preproces ...
  Topic: You might want to use DGrammar
Ivan Senji

Replies: 2
Views: 19312

PostForum: lr-lalr   Posted: Mon Nov 29, 2004 5:35 am   Subject: Re: You might want to use DGrammar
Hi there,

Since your code needs to get parsed. you might want to use DGrammar. DGrammar is becoming a fully OOP grammar-compiler. The project can be found at the following location:



I'll ch ...
  Topic: removal of C++ stream syntax (<< & >>) ?
Ivan Senji

Replies: 9
Views: 16564

PostForum: Mango   Posted: Thu Oct 14, 2004 12:18 pm   Subject: Re: removal of C++ stream syntax (<< & >>) f
The problem is thus: having to support both approaches simultaneously (get/put; </>>) is becoming a bit unweildly. If we were to select one or the other at compile time, via a version() state ...
  Topic: removal of C++ stream syntax (<< & >>) ?
Ivan Senji

Replies: 9
Views: 16564

PostForum: Mango   Posted: Thu Oct 14, 2004 7:51 am   Subject: Re: removal of C++ stream syntax (<< & >>) f
This has been on the cards for a while: what do people think?

No! Don't do it. I really like << & >> ans suspect many other C++ programmers like them.
  Topic: Generating d code now..
Ivan Senji

Replies: 0
Views: 14295

PostForum: lr-lalr   Posted: Sun Sep 12, 2004 6:18 am   Subject: Generating d code now..
Now you can add D code into the grammar definition and it will generate D code (a recursive descent parser of (la)lr generated parse tree)


The example is in the tests\translate-gram and it is a g ...
  Topic: Here it is.
Ivan Senji

Replies: 3
Views: 20538

PostForum: lr-lalr   Posted: Thu Sep 09, 2004 12:38 am   Subject: Re: getch
I've heard that Linux doesn't have a getch(). It's function in Windows is to "get a character" (keystroke).

Here's some newsgroup references that might help:


Thanks! I removed getch(), but i d ...
  Topic: Here it is.
Ivan Senji

Replies: 3
Views: 20538

PostForum: lr-lalr   Posted: Mon Sep 06, 2004 4:24 am   Subject: Here it is.
Very Happy
Here it is. And it is here just in case anyone finds it in any way usefull.

*lr.d //the parser itself
*ivan_*.d //the files it uses
*main.d //examples how to call a parser, when compiled it ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group