Permalink
Switch branches/tags
Nothing to show
Commits on Mar 7, 2015
  1. Merge branch 'remove-mnemosyne'

    Richard Carlsson committed Mar 7, 2015
Commits on Dec 22, 2014
  1. Revert "preserve line numbers when reverting representation"

    Richard Carlsson committed Dec 22, 2014
    This reverts commit 554e2fb, which was
    correspondingly reverted in OTP for compatibility reasons. (The details
    remain unclear.)
  2. Remove support for Mnemosyne rules

    Richard Carlsson committed Apr 21, 2014
Commits on Dec 21, 2014
  1. Remove support for mnemosyne-style record field access

    Richard Carlsson committed Apr 21, 2014
    (The support in erl_parse got removed when 'packages' were removed, since
    the dot notation was overlaid on the existing mnemosyne access syntax.)
  2. change license to dual Apache-2/LGPL

    Richard Carlsson committed Apr 21, 2014
  3. don't add ./ebin to path when building docs

    Richard Carlsson committed Apr 21, 2014
  4. synch vsn.mk with OTP repo

    Richard Carlsson committed Dec 21, 2014
  5. syntax_tools: Teach Maps to erl_syntax

    psyeugenic committed with Richard Carlsson Oct 23, 2014
    Affected functions:
    
    * erl_syntax:abstract/1
    * erl_syntax:concrete/1
    * erl_syntax:is_leaf/1
    * erl_syntax:is_literal/1
  6. syntax_tools: Fix is_literal/1 for binary

    psyeugenic committed with Richard Carlsson Oct 23, 2014
  7. edoc, syntax_tools: Don't fail on invalid UTF-8

    uabboli committed with Richard Carlsson Jun 25, 2014
    As a temporary measure to ease the transition to default UTF-8
    encoding, automatically fall back to the Latin-1 encoding (without any
    warnings; the Erlang Compiler will emit a proper warning).
    
    The intention is to remove this workaround in OTP 18 or 19.
  8. Fix reverting map in syntax_tools

    rolkar committed with Richard Carlsson Apr 21, 2014
    There was a copy-paste bug in erl_syntax when running
    e.g. erl_syntax:revert_forms, affecting maps. Instead of getting
    Key/Value you got Key/Key in the resulting abstract form.
  9. [syntax_tools] Let erl_syntax:concrete() accept the F/A syntax

    uabboli committed with Richard Carlsson Apr 22, 2014
    Note: `arity_qualifier` nodes are recognized. This is to follow The
    Erlang Parser when it comes to wild attributes: both {F, A} and F/A
    are recognized, which makes it possible to turn wild attributes into
    recognized attributes without at the same time making it impossible to
    compile files using the new syntax with the old version of the Erlang
    Compiler.
Commits on Apr 20, 2014
  1. Correct a contract in the igor module

    uabboli committed with Richard Carlsson Feb 25, 2014
    Thanks Kostis.
  2. syntax_tools: Fix broken doc links for Maps

    psyeugenic committed with Richard Carlsson Feb 24, 2014
  3. Deprecate pre-defined built-in types

    uabboli committed with Richard Carlsson Feb 3, 2014
    The types array(), dict(), digraph(), gb_set(), gb_tree(), queue(),
    set(), and tid() have been deprecated. They will be removed in OTP 18.0.
    
    Instead the types array:array(), dict:dict(), digraph:graph(),
    gb_set:set(), gb_tree:tree(), queue:queue(), sets:set(), and ets:tid()
    can be used. (Note: it has always been necessary to use ets:tid().)
    
    It is allowed in OTP 17.0 to locally re-define the types array(), dict(),
    and so on.
    
    New types array:array/1, dict:dict/2, gb_sets:set/1, gb_trees:tree/2,
    queue:queue/1, and sets:set/1 have been added.
  4. Mention map trees in erl_syntax:type/1 documentation

    nox committed with Richard Carlsson Feb 8, 2014
  5. Support named funs in erl_prettypr

    nox committed with Richard Carlsson Feb 1, 2014
  6. Support maps in erl_prettypr

    nox committed with Richard Carlsson Feb 1, 2014
  7. Complete support of maps in erl_syntax

    nox committed with Richard Carlsson Jan 31, 2014
    	map_expr/1
    	map_expr/2
    	map_expr_argument/1
    	map_expr_fields/1
    
    	map_field_assoc/2
    	map_field_assoc_name/1
    	map_field_assoc_value/1
    
    	map_field_exact/2
    	map_field_exact_name/1
    	map_field_exact_value/1
  8. Fix representation of named funs in syntax_tools

    nox committed with Richard Carlsson Jan 28, 2014
    A named fun's name is a variable name, its type in syntax_tools is named_fun_expr.
  9. edoc,syntax_tools: Teach Map understanding

    psyeugenic committed with Richard Carlsson Oct 24, 2013
  10. 17.0 anchor and broken links fixes

    garazdawi committed with Richard Carlsson Jan 27, 2014
  11. EEP 37: Funs with names

    nox committed with Richard Carlsson Nov 10, 2012
    This adds optional names to fun expressions. A named fun expression
    is parsed as a tuple `{named_fun,Loc,Name,Clauses}` in erl_parse.
    
    If a fun expression has a name, it must be present and be the same in
    every of its clauses. The function name shadows the environment of the
    expression shadowing the environment and it is shadowed by the
    environment of the clauses' arguments. An unused function name triggers
    a warning unless it is prefixed by _, just as every variable.
    Variable _ is allowed as a function name.
    
    It is not an error to put a named function in a record field default
    value.
    
    When transforming to Core Erlang, the named fun Fun is changed into
    the following expression:
    
        letrec 'Fun'/Arity =
                   fun (Args) ->
                           let <Fun> = 'Fun'/Arity
                           in Case
        in 'Fun'/Arity
    
    where Args is the list of arguments of 'Fun'/Arity and Case the
    Core Erlang expression corresponding to the clauses of Fun.
    
    This transformation allows us to entirely skip any k_var to k_local
    transformation in the fun's clauses bodies.
  12. Remove a useless function clause in erl_syntax_lib

    nox committed with Richard Carlsson May 19, 2013
  13. Fix transformation of implicit funs in igor

    nox committed with Richard Carlsson May 18, 2013
    Function erl_syntax_lib:analyze_implicit_fun/1 should not be called on
    implicit external funs, as their parts can contain variables instead of
    atoms and integers.
  14. Fix reverting of implicit funs

    nox committed with Richard Carlsson May 18, 2013
    Implicit funs parts in plain AST are no longer in concrete form since
    Erlang/OTP R15.
  15. Use ~ts for filenames

    uabboli committed with Richard Carlsson Feb 19, 2013
  16. [stdlib] Correct handling of Unicode filenames

    uabboli committed with Richard Carlsson Feb 15, 2013
  17. Make Unicode corrections

    uabboli committed with Richard Carlsson Feb 4, 2013
  18. Extend char() to Unicode characters

    uabboli committed with Richard Carlsson Jan 11, 2013
    The code related to the introduction of unicode_string() and
    unicode_char() has been removed. The types char() and string() have
    been extended to include Unicode characters.
    
    In fact char() was changed some time ago; this commit is about
    cleaning up the documentation and introduce better names for some
    functions.
  19. Remove support for the query keyword and query expressions

    essen committed with Richard Carlsson Nov 19, 2012
  20. syntax_tools: Remove support for packages

    bjorng committed with Richard Carlsson Dec 6, 2012
  21. [syntax_tools] Introduce Unicode support for Erlang source files

    uabboli committed with Richard Carlsson Dec 3, 2012
    Not complete.
    Unicode in wild attribute doesn't work.
    No support for Unicode regarding Igor stubs.