RE: Foreign language parsers

On 05 August 2005 12:37, Dominic Fox wrote:
I'm trying to collate a list of currently extant Haskell projects that include parsers for foreign languages such as PHP and C.
To this end, I've created a wiki page at http://haskell.org/hawiki/ParsingForeignLanguagesInHaskell.
Has anyone looked at positioning foreign language parsing modules in the standard libs, or specifying a common framework or contract for such modules?
This is what the Language.* branch of the hierarchy was intended for, incedentally. Language.Haskell is currently populated, but I'm not aware of any other libraries under Language. Cheers, Simon

On Fri, Aug 05, 2005 at 11:11:41PM +0100, Simon Marlow wrote:
On 05 August 2005 12:37, Dominic Fox wrote:
I'm trying to collate a list of currently extant Haskell projects that include parsers for foreign languages such as PHP and C.
To this end, I've created a wiki page at http://haskell.org/hawiki/ParsingForeignLanguagesInHaskell.
Has anyone looked at positioning foreign language parsing modules in the standard libs, or specifying a common framework or contract for such modules?
This is what the Language.* branch of the hierarchy was intended for, incedentally. Language.Haskell is currently populated, but I'm not aware of any other libraries under Language.
I have Language.TransactSQL.* (SQL dialect of Microsoft SQL Server), but I don't know if anyone is interested. Best regards Tomasz

Tomasz,
I have Language.TransactSQL.* (SQL dialect of Microsoft SQL Server), but I don't know if anyone is interested.
Is the source available, and is there any information on-line about
your module? If so, could you link to it on the wiki page (or tell me
where it is, and I'll do it):
http://haskell.org/hawiki/ParsingForeignLanguagesInHaskell
I can think of at least one use for a TransactSQL code transformation
tool - equipping the language with better error handling semantics...
regards,
Dominic
On 8/9/05, Tomasz Zielonka
On Fri, Aug 05, 2005 at 11:11:41PM +0100, Simon Marlow wrote:
On 05 August 2005 12:37, Dominic Fox wrote:
I'm trying to collate a list of currently extant Haskell projects that include parsers for foreign languages such as PHP and C.
To this end, I've created a wiki page at http://haskell.org/hawiki/ParsingForeignLanguagesInHaskell.
Has anyone looked at positioning foreign language parsing modules in the standard libs, or specifying a common framework or contract for such modules?
This is what the Language.* branch of the hierarchy was intended for, incedentally. Language.Haskell is currently populated, but I'm not aware of any other libraries under Language.
I have Language.TransactSQL.* (SQL dialect of Microsoft SQL Server), but I don't know if anyone is interested.
Best regards Tomasz
-- Perhaps (but not likely) I may be still a whizz at ordinary language and you mishear things. -- Geoffrey Hill, Discourse: For Stanley Rosen

On Tue, Aug 09, 2005 at 10:24:31AM +0100, Dominic Fox wrote:
Tomasz,
I have Language.TransactSQL.* (SQL dialect of Microsoft SQL Server), but I don't know if anyone is interested.
Is the source available, and is there any information on-line about your module?
Not yet, but I could make it available. I don't work on this project at this moment, but maybe someone else could find a use for it.
I can think of at least one use for a TransactSQL code transformation tool - equipping the language with better error handling semantics...
My use was to make PostgreSQL understand TransactSQL. It even worked to some degree, but I didn't have the determination to handle all the details. Best regards Tomasz

Not yet, but I could make it available. I don't work on this project at this moment, but maybe someone else could find a use for it.
Just for people to be able to see the source would be useful, I think. If someone wanted to write a module for Oracle PL/SQL, for example, looking at some code for TransactSQL might be a good starting point. regards, Dominic
participants (3)
-
Dominic Fox
-
Simon Marlow
-
Tomasz Zielonka