Re: [ANN] shadow-pgsql: PostgreSQL without JDBC

2014-08-23 Thread Jason Jackson
This makes me wonder if it would make sense to create a Postgresql plugin that adds a keyword type and other similar types, that would allow for a more precise roundtrip between Clojure and Postgres. Jason On Sat, Aug 23, 2014 at 11:23 AM, Thomas Heller wrote: > Hey Kyle, > > thanks for the Feed

Re: Clojure + jarjar to avoid dependency conflicts

2013-11-02 Thread Jason Jackson
+1 Any clojure users have any luck with jarjar? On Tuesday, 6 March 2012 15:27:52 UTC-8, nathanmarz wrote: > > I've been playing around with the "jarjar" tool ( > http://code.google.com/p/jarjar/ > ) in order to package my jar to avoid dependency conflicts with other > libs. It doesn't seem

Re: Lexer and parser generator in Clojure

2012-05-20 Thread Jason Jackson
This is a really great project. If you add LR1, you may want to retain ~LR0 as an option. My understanding is most grammars today are designed for LALR1. On Sun, May 20, 2012 at 4:26 AM, Christophe Grand wrote: > On Sat, May 19, 2012 at 9:44 PM, Jason Jackson wrote: > >> In retrosp

Re: Lexer and parser generator in Clojure

2012-05-19 Thread Jason Jackson
I didn't read the part about clojure/clojurescript interop. Also, you could write a parser by hand in clojure[script], which takes a parse table as input. The parse table can be generated with from any language. On Saturday, 19 May 2012 15:44:28 UTC-4, Jason Jackson wrote: > >

Re: Lexer and parser generator in Clojure

2012-05-19 Thread Jason Jackson
I wrote a compiler in Clojure for a 4th year course. For parsing I used this combinator parser library: https://github.com/jasonjckn/clarsec which is modeled after haskell's parsec. However the performance was kind of bad, combinator parsers in general can be pretty slow. In retrospect, I w

Re: Core.logic, dynamically generated goals

2012-05-19 Thread Jason Jackson
Are you trying to see if a person meets multiple requirements? Here's how: (defrel grade person course g) (fact grade 'Bob 'Algebra 'B) (fact grade 'Bob 'Art 'C) (fact grade 'John 'Algebra 'A) (fact grade 'John 'Art 'A) (fact grade 'Ricky 'Algebra 'D) (fact grade 'Ricky 'Art 'A) (defn meet

Re: Clojure beginner in search of peer-induced enlightenment

2012-05-14 Thread Jason Jackson
This might not sound glamorous, but reading books, and reading great code, and code reviews is a great way to get up to speed. The explanations found in the Joy of Clojure, and other books have been highly edited and refined; if I ever paired up with someone, I doubt my ad-hoc verbal explanation

Re: notes on Mathematica pattern transformation & Clojure predicate dispatch

2012-02-23 Thread Jason Jackson
"But this exposes a bigger problem: when doing interactive development, you will end up with old definitions sticking around. You are debugging one case of your function, and change the pattern a little. " Personally, I suffer from interactive development problems even with merely using def/defn.