• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Antlr Conference   Drools & Hibernate
 

Antlr Conference Drools & Hibernate

on

  • 2,695 views

 

Statistics

Views

Total Views
2,695
Views on SlideShare
2,688
Embed Views
7

Actions

Likes
1
Downloads
54
Comments
0

3 Embeds 7

http://www.slideshare.net 4
http://www.linkedin.com 2
http://www.slideee.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Antlr Conference   Drools & Hibernate Antlr Conference Drools & Hibernate Presentation Transcript

  • ANTLR Challenges in grammar development: Drools & Hibernate real cases Alexandre Porcelli Caravela
  • ANTLR Conference 2009 must admit: i’m a BIT nervous
  • ANTLR Conference 2009 Alexandre Porcelli Chief Technology Officer porcelli@caravelatech.com Alexandre Porcelli Creator & Project Lead Alexandre Porcelli Commiter Alexandre Porcelli Commiter / Parser Maintainer Alexandre Porcelli Commiter / Parser Developer
  • ANTLR Conference 2009 why i'm excited to be here?
  • ANTLR Conference 2009 to be one more nerd in the audience? NO
  • ANTLR Conference 2009 to take the antl[e]r photo? Definitely NOT!
  • ANTLR Conference 2009 to drink some beers with you? NO.... -- that's not entirely true ;) --
  • ANTLR Conference 2009
  • ANTLR Conference 2009 to learn... from you!
  • ANTLR Conference 2009 interactive talk....
  • ANTLR Conference 2009
  • ANTLR Conference 2009 jboss.org/drools one of the most important product on JBoss SOA Platform dsl language: DRL
  • ANTLR Conference 2009 hibernate.org one of the most used java library... dsl languages: HQL, EJB-QL & Criteria Query*
  • ANTLR Conference 2009 common habits antlr version 3.1.x tree walkers lots of virtual tokens never_change: (generated files | antlr templates) ; gUnit proprietary token class
  • ANTLR Conference 2009
  • ANTLR Conference 2009 common challenges
  • ANTLR Conference 2009 keywords as variables: soft keywords “ ” Terence Parr, 2007
  • ANTLR Conference 2009 how to
  • ANTLR Conference 2009 error messages: internationalization
  • ANTLR Conference 2009 how to
  • ANTLR Conference 2009
  • ANTLR Conference 2009 semantic predicate Person( ( age > 60 && age < 70 ) || ( age > 50 && age < 55 ) ) restr_connective Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) ) constraint
  • ANTLR Conference 2009 how to
  • ANTLR Conference 2009 editor: syntax highlighting
  • ANTLR Conference 2009 how to
  • ANTLR Conference 2009 editor: autocomplete
  • ANTLR Conference 2009 how to i’ll not show my terrible solution * if you whant see that -> get drools code and check it ;)
  • ANTLR Conference 2009
  • ANTLR Conference 2009 chalange: try to adapt to an existing structure what we’d love to have: - implement interface @ parsers & walkers - token types declared outside generated code (why not an interface?) -> avoid code coupling with lexers, parsers or treewalkers
  • ANTLR Conference 2009 split the tree
  • ANTLR Conference 2009 how to
  • ANTLR Thank You porcelli@caravelatech.com caravelatech.com www.linkedin.com/in/alexandreporcelli twitter.com/porcelli no time for that... yet!