Re: Example of using ANTLR from Clojure?
Thank you very much. This definitely helps. -Kranthi On Sat, Apr 26, 2014 at 9:17 PM, Armando Blancas wrote: > I haven't touched this project in a while, but it might be useful. > https://github.com/blancas/tinypost > This file has the relevant interop code: > src/main/clojure/blancas/tinypost/scan.clj > > On Saturday, April 26, 2014 3:04:50 AM UTC-7, Kranthi Rajoli wrote: > >> Hi Paul, >> Do you mind outlining the method you used? I am exactly looking for the >> same. My Java skills are pathetic too. >> >> Thanks, >> Kras >> >> On Wednesday, September 9, 2009 4:17:07 AM UTC+5:30, Paul Henning wrote: >>> >>> Thanks for the information. Once I bit the bullet and learned a bit >>> of Java, it was actually pretty easy to call ANTLR from clojure, after >>> getting all the package naming figured out. >>> >>> Paul >>> >>> On Sep 6, 6:22 am, Laurent PETIT wrote: >>> > 2009/9/5 Mike Hinchey >>> > >>> > > I don't know anything about it, but counterclockwise uses antlr. >>> > >>> > >http://groups.google.com/group/clojuredev-devel/browse_ >>> thread/thread/... >>> > >>> > That's true. To be more precise, we have a clojure lexer which is >>> > extensively used in Counterclockwise clojure source editor for syntax >>> > coloration. There is also the lexer part but it was developed a long >>> time >>> > ago (so may not be still accurate), and is not used yet (so maybe the >>> way >>> > the AST is constructed is nood in the good shape for most purpose). >>> > >>> > But to come back to your concern of using antlr from clojure : no, >>> > Counterclockwise is not yet written in clojure (just the client/server >>> part >>> > for communicating with running projects instances) and so you wil not >>> be >>> > able to find examples for that, sorry :-( >>> > >>> > -- >>> > Laurent >> >> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojure/vdUGQRwDYWo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Kranthi Rajoli -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Example of using ANTLR from Clojure?
I haven't touched this project in a while, but it might be useful. https://github.com/blancas/tinypost This file has the relevant interop code: src/main/clojure/blancas/tinypost/scan.clj On Saturday, April 26, 2014 3:04:50 AM UTC-7, Kranthi Rajoli wrote: > Hi Paul, > Do you mind outlining the method you used? I am exactly looking for the > same. My Java skills are pathetic too. > > Thanks, > Kras > > On Wednesday, September 9, 2009 4:17:07 AM UTC+5:30, Paul Henning wrote: >> >> Thanks for the information. Once I bit the bullet and learned a bit >> of Java, it was actually pretty easy to call ANTLR from clojure, after >> getting all the package naming figured out. >> >> Paul >> >> On Sep 6, 6:22 am, Laurent PETIT wrote: >> > 2009/9/5 Mike Hinchey >> > >> > > I don't know anything about it, but counterclockwise uses antlr. >> > >> > >http://groups.google.com/group/clojuredev-devel/browse_thread/thread/... >> >> > >> > That's true. To be more precise, we have a clojure lexer which is >> > extensively used in Counterclockwise clojure source editor for syntax >> > coloration. There is also the lexer part but it was developed a long >> time >> > ago (so may not be still accurate), and is not used yet (so maybe the >> way >> > the AST is constructed is nood in the good shape for most purpose). >> > >> > But to come back to your concern of using antlr from clojure : no, >> > Counterclockwise is not yet written in clojure (just the client/server >> part >> > for communicating with running projects instances) and so you wil not >> be >> > able to find examples for that, sorry :-( >> > >> > -- >> > Laurent > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Example of using ANTLR from Clojure?
Hi Paul, Do you mind outlining the method you used? I am exactly looking for the same. My Java skills are pathetic too. Thanks, Kras On Wednesday, September 9, 2009 4:17:07 AM UTC+5:30, Paul Henning wrote: > > Thanks for the information. Once I bit the bullet and learned a bit > of Java, it was actually pretty easy to call ANTLR from clojure, after > getting all the package naming figured out. > > Paul > > On Sep 6, 6:22 am, Laurent PETIT wrote: > > 2009/9/5 Mike Hinchey > > > > > I don't know anything about it, but counterclockwise uses antlr. > > > > >http://groups.google.com/group/clojuredev-devel/browse_thread/thread/... > > > > > That's true. To be more precise, we have a clojure lexer which is > > extensively used in Counterclockwise clojure source editor for syntax > > coloration. There is also the lexer part but it was developed a long > time > > ago (so may not be still accurate), and is not used yet (so maybe the > way > > the AST is constructed is nood in the good shape for most purpose). > > > > But to come back to your concern of using antlr from clojure : no, > > Counterclockwise is not yet written in clojure (just the client/server > part > > for communicating with running projects instances) and so you wil not be > > able to find examples for that, sorry :-( > > > > -- > > Laurent -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Example of using ANTLR from Clojure?
Thanks for the information. Once I bit the bullet and learned a bit of Java, it was actually pretty easy to call ANTLR from clojure, after getting all the package naming figured out. Paul On Sep 6, 6:22 am, Laurent PETIT wrote: > 2009/9/5 Mike Hinchey > > > I don't know anything about it, but counterclockwise uses antlr. > > >http://groups.google.com/group/clojuredev-devel/browse_thread/thread/... > > That's true. To be more precise, we have a clojure lexer which is > extensively used in Counterclockwise clojure source editor for syntax > coloration. There is also the lexer part but it was developed a long time > ago (so may not be still accurate), and is not used yet (so maybe the way > the AST is constructed is nood in the good shape for most purpose). > > But to come back to your concern of using antlr from clojure : no, > Counterclockwise is not yet written in clojure (just the client/server part > for communicating with running projects instances) and so you wil not be > able to find examples for that, sorry :-( > > -- > Laurent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Example of using ANTLR from Clojure?
2009/9/5 Mike Hinchey > I don't know anything about it, but counterclockwise uses antlr. > > http://groups.google.com/group/clojuredev-devel/browse_thread/thread/1428233ef12b6231 > > That's true. To be more precise, we have a clojure lexer which is extensively used in Counterclockwise clojure source editor for syntax coloration. There is also the lexer part but it was developed a long time ago (so may not be still accurate), and is not used yet (so maybe the way the AST is constructed is nood in the good shape for most purpose). But to come back to your concern of using antlr from clojure : no, Counterclockwise is not yet written in clojure (just the client/server part for communicating with running projects instances) and so you wil not be able to find examples for that, sorry :-( -- Laurent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Example of using ANTLR from Clojure?
I don't know anything about it, but counterclockwise uses antlr. http://groups.google.com/group/clojuredev-devel/browse_thread/thread/1428233ef12b6231 -Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Example of using ANTLR from Clojure?
Does anyone have an example of how to call ANTLR from Clojure? I imagine that it is not that difficult using the Java interop features, but my Java skills are pathetic. Thanks, Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---