Commit Graph

43 Commits

Author SHA1 Message Date
Ulf Wiger
60299e7410 cleanup, type fixes and new rebar 2011-04-18 15:16:54 +02:00
Ulf Wiger
3741317006 fixed parse_trans:pp_beam/2 spec 2011-01-13 18:57:23 +01:00
Ulf Wiger
ca1b670623 dialyzer warnings reported by Kostis 2011-01-13 18:07:27 +01:00
Ulf Wiger
7ef08c7749 re-generated docs with updated edown 2010-10-31 18:34:03 +01:00
Ulf Wiger
049ea9f905 merged klajo-form-injection 2010-10-27 20:51:18 +02:00
Ulf Wiger
06a1066ea0 re-indendation 2010-10-27 20:49:40 +02:00
Klas Johansson
1ec65427e4 Inject an abstract form when '$form' is seen
'$form' works much like '$var', only that it makes it possible to
inject ready-made abstract forms into the generated
functions/expressions.  The following call:

  gen(Name, F) ->
     codegen:gen_function(Name, fun(X) -> X =:= {'$form',F} end).

generates the following if called like this: gen(is_foo, {atom,0,foo})

  is_foo(X) ->
     X =:= foo.
2010-10-26 21:23:11 +02:00
Ulf Wiger
c0bfe0849b generated edown docs + added README 2010-10-23 21:06:20 +02:00
Ulf Wiger
363c2edad6 fixed compilation order 2010-10-04 10:52:28 +02:00
Ulf Wiger
78e714e713 added '#is_record-' in exprecs 2010-10-04 10:35:57 +02:00
Ulf Wiger
94a3795369 removed debug printouts 2010-09-05 15:40:52 +02:00
Ulf Wiger
488dc61f56 added codegen: gen_functions/1, expr/1 2010-09-05 14:32:59 +02:00
Ulf Wiger
afec118365 Refactor pretty-printing + doc improvements 2010-09-03 14:36:35 +02:00
Dave Smith
8fc4ff6e6a Add rebar and get basic compilation functional (so that you can use this library as a dep) 2010-07-13 08:39:29 -06:00
Ulf Wiger
8dda9b5449 remove debug printouts 2010-07-02 06:48:34 -04:00
Ulf Wiger
0f2fc09ab2 edoc for parse_trans_codegen 2010-07-02 06:39:05 -04:00
Ulf Wiger
59ee9e4f18 add missing line attribute 2010-07-02 06:19:08 -04:00
Ulf Wiger
3869646a8f add .gitignore 2010-07-02 05:41:36 -04:00
Ulf Wiger
6e34855ffb codegen variable substitution 2010-06-22 16:16:11 +02:00
Ulf Wiger
c318a5fb47 first draft of parse_trans_codegen.erl 2010-06-22 12:37:08 +02:00
Ulf Wiger
6b9510fa74 added pos functions to exprecs 2010-02-25 07:34:17 -05:00
uwiger
275690db26 propset on html files
git-svn-id: http://svn.ulf.wiger.net/parse_trans/branches/0.2/parse_trans@24 ae7daa23-5771-0410-ae54-ec81a0701e84
2010-01-22 09:54:12 +00:00
uwiger
df4c57405a added specific exceptions for unknown attributes
git-svn-id: http://svn.ulf.wiger.net/parse_trans/branches/0.2/parse_trans@23 ae7daa23-5771-0410-ae54-ec81a0701e84
2010-01-10 20:47:14 +00:00
uwiger
11201b9125 examples Makefile
git-svn-id: http://svn.ulf.wiger.net/parse_trans/branches/0.2/parse_trans@22 ae7daa23-5771-0410-ae54-ec81a0701e84
2010-01-07 17:51:31 +00:00
uwiger
e44edda673 moved exprecs and ct_expand into src, removed wooper src
git-svn-id: http://svn.ulf.wiger.net/parse_trans/branches/0.2/parse_trans@21 ae7daa23-5771-0410-ae54-ec81a0701e84
2010-01-07 17:17:43 +00:00
uwiger
f3042a3bc4 wooper work + small improvements
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@20 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 17:01:17 +00:00
uwiger
2bf93d066d successful tests with inheritance
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@19 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 16:57:07 +00:00
uwiger
690309646a successful tests with inheritance
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@18 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 16:55:21 +00:00
uwiger
ee9e684b23 successful tests with inheritance
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@17 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 16:52:07 +00:00
uwiger
4ae20a8a84 successful tests with inheritance
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@16 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 16:51:01 +00:00
uwiger
18789e1a63 first wooper tests starting to work
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@15 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 15:29:09 +00:00
uwiger
992f572827 first wooper tests starting to work
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@14 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 15:27:51 +00:00
uwiger
971ad71f15 added #is_record-/2 generation to exprecs.erl
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@13 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 13:50:59 +00:00
uwiger
b5fd2940fa first commit of (unfinished) rewrite
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@12 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 12:27:05 +00:00
uwiger
f3706583fe first commit of (unfinished) rewrite
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@11 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 12:26:17 +00:00
uwiger
e7762e713c added exprecs.erl and wooper_parse_transform.erl
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@10 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-12-14 12:23:59 +00:00
uwiger
52df04626c makefile and doc fixes
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@9 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-10-16 12:28:58 +00:00
uwiger
69a94863e7 makefile and doc fixes
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@8 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-10-16 12:17:39 +00:00
uwiger
d8797a5b5b set correct mime type on html files
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@7 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-09-11 10:17:53 +00:00
uwiger
bd33333246 forgot to add new files
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@6 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-09-11 09:29:39 +00:00
uwiger
2b89a55e5b ported ct_expand, bug fixes
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@5 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-09-11 09:27:16 +00:00
uwiger
2fc581c60f added some comments
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@3 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-08-18 08:47:12 +00:00
uwiger
34926f300b git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@1 ae7daa23-5771-0410-ae54-ec81a0701e84 2009-08-18 08:09:34 +00:00