Hello Trimbo,
To date I have concentrated on the use of aParse to parse messages and not put any time into trying it on a computer language. It should work for a computer language by virtue of the fact it uses a BNF grammar.
I will look into this and send you a PM when I have something more concrete to say.
OH.
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: parse2.com
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "parse2.com"
Collapse
-
Looks interesting - a few months ago I was checking out JavaCC/ANTLR etc to try and produce a Sybase TSQL parser and really didn't take to any of them. In the end I just hand crafted a parser (I know - yuk) but I really should redo it using parser generator tools (such as yours).
Anyway, shameless self promotion: http://code.google.com/p/sybaseparser/
Have you tried implementing a complex grammer such as TSQL using your tool? It would be a good test of how flexible / scalable it is.
T
Leave a comment:
-
Originally posted by OrangeHopperWho says I won't fix a bug?
Who says I won't consider a change for a price?
Leave a comment:
-
Who says I won't fix a bug?
Who says I won't consider a change for a price?
Leave a comment:
-
Originally posted by TheRightStuffnice try. But like I said he is clever. If it was me I would of posted the code cos i is not.
1) It is fully commercially supported so if there is a bug or feature I need, the owning company will attend to making the changes/fix.
2) I have the source code so I can do the above myself.
Unfortunately OHs project doesn't meet those criteria (yet).
Leave a comment:
-
Originally posted by Cowboy BobAny chance of the code? Or are you unable to open source it? I prefer my libraries to come with source code.
Leave a comment:
-
Sorry but for the time being I'm not going to make the code available.
Leave a comment:
-
Any chance of the code? Or are you unable to open source it? I prefer my libraries to come with source code.
Leave a comment:
-
Ta Cowboy.
Obviously let me know via the parse2 email if you have any questions or find any bugs.
Leave a comment:
-
Originally posted by OrangeHopperThe main difference that I was interested in was that Augmented BNF has "variable repetition".
<a>*<b>element
This is not present in Extended BNF which most other parsers use.
Leave a comment:
-
Originally posted by OrangeHopperDon't you mean, "You is like Threaded".
Leave a comment:
-
Originally posted by TheRightStuffI wish i was that clever. you is like einstein in it.
Leave a comment:
-
Hello Cowboy,
When I started out I looked at ANTLR and JavaCC but couldn't get either of them to deal with the types of protocol/messages I was trying to parse. This may have been due to ignorance of the products but I then started looking at parsers in general and didn't try them again.
The main difference that I was interested in was that Augmented BNF has "variable repetition".
<a>*<b>element
This is not present in Extended BNF which most other parsers use.
I have been working on a messaging system for a few years where the messages do not comform to a grammar where every field is delimited by a punctuation character. Identifying one field from the next is often based on length and format which is much easier to define with Augmented BNF.
The other comment is that I found the above compiler compilers relatively difficult to master. I wanted a system where the grammar file was all you needed. Probably find I will learn the lessons they learned many years ago and mine will get more complicated.
Sorry, not a particularly well thought out answer but it is the power of the "variable repetition" construct that I needed.Last edited by OrangeHopper; 30 May 2007, 10:09.
Leave a comment:
-
Website looks fine and the project looks really interesting. Before really diving in, I've got a couple of questions:-
I've used ANTLR before - http://www.antlr.org/
What are the main differences between your approach and theirs?
Why should I choose your software over ANTLR?
Leave a comment:
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Streamline Your Retirement with iSIPP: A Solution for Contractor Pensions Sep 1 09:13
- Making the most of pension lump sums: overview for contractors Sep 1 08:36
- Umbrella company tribunal cases are opening up; are your wages subject to unlawful deductions, too? Aug 31 08:38
- Contractors, relabelling 'labour' as 'services' to appear 'fully contracted out' won't dupe IR35 inspectors Aug 31 08:30
- How often does HMRC check tax returns? Aug 30 08:27
- Work-life balance as an IT contractor: 5 top tips from a tech recruiter Aug 30 08:20
- Autumn Statement 2023 tipped to prioritise mental health, in a boost for UK workplaces Aug 29 08:33
- Final reminder for contractors to respond to the umbrella consultation (closing today) Aug 29 08:09
- Top 5 most in demand cyber security contract roles Aug 25 08:38
- Changes to the right to request flexible working are incoming, but how will contractors be affected? Aug 24 08:25
Leave a comment: