User Activity

  • Posted a comment on discussion Help on Koopa (COBOL) Parser Generator

    Hi Shiva, Yes, of course that's possible. Look at the classes under the “examples" folder to see how you can access the ASTs and start processing them. Cheers, Kris

  • Posted a comment on discussion Open Discussion on Koopa (COBOL) Parser Generator

    I contacted you via LinkedIn. I hope I picked the right Guy. :-)

  • Posted a comment on discussion Open Discussion on Koopa (COBOL) Parser Generator

    Hi Guy, Sorry, no. I process the data coming from the parser directly, without an intermediate transformation to XML. If you want more insight into the XML, I definitely recommend using the GUI. As the XML is pretty much a dump of the AST, anything you learn in one should be directly applicable in the other. The GUI lets you click on any token in the text and it will show you the path in the tree. There is also an option to visualize the AST in the UI. Even better, when you show the AST, clicking...

  • Posted a comment on discussion Open Discussion on Koopa (COBOL) Parser Generator

    So the error says that it could not classify the "END-SEARCH", but everything up to that point seems to have gone allright. In particular it looks like it handled the search statement's condition (note the "condition < searchStatement" in the path). Looking at the grammar it expects to find something after the condition: WHEN condition ( nestedStatements | NEXT SENTENCE ) Your example does not have a nested statement, nor a NEXT SENTENCE, and so the parse fails. Adding a statement after line 044300...

  • Posted a comment on discussion Open Discussion on Koopa (COBOL) Parser Generator

    I decided to move the project to GitHub. It is much easier for people to contribute changes there. So if you have something to share, you can now base it off the version found at https://github.com/krisds/koopa/issues . I'm happy to keep the discussion here though.

  • Posted a comment on discussion Help on Koopa (COBOL) Parser Generator

    I decided to move the project to GitHub to make it easier for people to contribute. You can now find it here: https://github.com/krisds/koopa/issues The SourceForge version will remain for historic purposes. I'll keep an eye on the forums here for a while longer.

  • Posted a comment on discussion Open Discussion on Koopa (COBOL) Parser Generator

    I decided to move the project to GitHub to make it easier for people to contribute. You can now find it here: https://github.com/krisds/koopa/issues The SourceForge version will remain for historic purposes. I'll keep an eye on the forums here for a while longer.

  • Posted a comment on discussion Open Discussion on Koopa (COBOL) Parser Generator

    Hey Adam, Koopa uses SVN right now, so the easiest way to share your changes is to make a diff between your code and the latest commit here, and share that. (I see that SF supports git now, so maybe I'll take some time to migrate the repo over to that. I'm not sure what the best option is.) But before that, do you have an example of dummy operands which Koopa fails to handle ? That way I can inspect what goes wrong, and give you a better answer. I would actually expect Koopa to be able to handle...

View All

Personal Data

Username:
kdeschut
Joined:
2008-07-17 18:59:43
Location:
CEST
Web Site:
  1. http://if-false-panic.blogspot.com/

Projects

This is a list of open source software projects that KrisDS is associated with:

Personal Tools