Commit Graph

12 Commits

Author SHA1 Message Date
Ulf Wiger
c55c8861cd Added revert_form/1; deal with revert bugs 2012-12-19 17:29:53 +01:00
Ulf Wiger
895a157dc9 improved error reporting, return/2, format_exception/2 2012-12-18 15:50:17 +01:00
Ulf Wiger
38b2183a9e added LC form to codegen:gen_function/2 2012-12-14 22:57:47 +01:00
Ulf Wiger
11154e117d updated docs 2012-01-28 16:30:05 +01:00
Ulf Wiger
60b548ab27 parse_trans:plain_transform/2 and example 2011-12-01 13:32:26 +01:00
Ulf Wiger
bb57e235ff types added in exprecs 2011-10-23 13:52:05 +02:00
Ulf Wiger
60299e7410 cleanup, type fixes and new rebar 2011-04-18 15:16:54 +02: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
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