瀏覽代碼

Merge upstream changes

develop-0.1.9
Pedram Nimreezi 9 年之前
父節點
當前提交
d0c95da52b
共有 2 個檔案被更改,包括 7 行新增18 行删除
  1. +7
    -0
      README.org
  2. +0
    -18
      src/glc_code.erl

+ 7
- 0
README.org 查看文件

@ -301,6 +301,9 @@ or
#+END_EXAMPLE
* CHANGELOG
0.1.9
- Add support for running jobs
0.1.8
- Add support for not equal
@ -313,6 +316,10 @@ or
- Add job execution and timings
- Add state storage option
0.1.7
- Add job execution and timings
- Add state storage option
0.1.6
- Add notfound event matching

+ 0
- 18
src/glc_code.erl 查看文件

@ -203,10 +203,6 @@ abstract_query({any, [{with, _Q, _A}|_] = I}) ->
abstract_query({all, [{with, _Q, _A}|_] = I}) ->
Queries = glc_lib:reduce(glc:all([Q || {with, Q, _} <- I])),
[?erl:abstract(Queries)];
%=======
%abstract_query({with, _, _}) ->
% [?erl:abstract([])];
%>>>>>>> Add support for job processing and variable storage with local state
abstract_query(Query) ->
[?erl:abstract(Query)].
@ -420,20 +416,6 @@ abstract_with(Fun, Data, State) when is_function(Fun, 1); is_function(Fun, 2) -
abstract_getparam(Fun, fun(#state{event=Event, paramvars=Params}) ->
{_, Fun2} = lists:keyfind(Fun, 1, Params),
[abstract_with_({Fun, Fun2}, Event, Data)]
%=======
%-spec abstract_with(fun((gre:event()) -> term()), #module{}, #state{}) -> [syntaxTree()].
%abstract_with(Fun, Store, State) when is_function(Fun, 1); is_function(Fun, 2) ->
% abstract_getparam(Fun, fun(#state{event=Event, paramvars=Params}) ->
% {_, Fun2} = lists:keyfind(Fun, 1, Params),
% [?erl:application(none, Fun2,
% case Fun of
% _ when is_function(Fun, 1) ->
% [Event];
% _ when is_function(Fun, 2) ->
% [Event, ?erl:abstract(Store)]
% end
% )]
%>>>>>>> Add support for job processing and variable storage with local state
end, State).
abstract_within([{H, Fun, Data}|T], OnNomatch, State) ->

Loading…
取消
儲存