summaryrefslogtreecommitdiff
path: root/lib/syntax_tools
Commit message (Collapse)AuthorAgeFilesLines
...
* | syntax_tools: Add tests for types and specsHans Bolinder2016-05-094-6/+181
| |
* | syntax_tools: Update igor to handle typed recordsHans Bolinder2016-05-091-0/+13
| |
* | syntax_tools: Add support for types and specsHans Bolinder2016-05-093-75/+1776
| | | | | | | | | | | | | | | | | | | | | | | | | | In particular, types and specs can be pretty-printed. There are issues with macros (left behind by epp_dodger). Typed record fields are handled. Fields are represented by triples instead of two-tuples, which is an incompatible change. Some attributes (-export_type, -spec, -type, &c) have been given meaning in recent time, but the set of wild attributes (see Barklund's spec) is not changed.
* | syntax_tools: Fix pretty-printing of the \x{...} syntaxHans Bolinder2016-05-091-0/+13
| |
* | syntax_tools: Update runtime dependenciesHans Bolinder2016-05-041-1/+1
| |
* | update copyright-yearHenrik Nord2016-03-157-7/+7
| |
* | Makefiles: Remove test_server from include path and code pathBjörn Gustavsson2016-02-171-1/+1
| | | | | | | | | | Since no test suites includede test_server.hrl, there is no need to have test_server in the include path or code path.
* | Eliminate use of test_server.hrl and test_server_line.hrlBjörn Gustavsson2016-02-172-2/+2
| | | | | | | | | | | | | | As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl.
* | syntax_tools: Correct a typeHans Bolinder2016-01-201-1/+4
| |
* | Use 'rand' instead of the obsolete 'random' moduleBjörn Gustavsson2015-12-111-3/+9
| | | | | | | | | | In most cases, we don't have to seed the random number generator, as the rand:uniform/1 takes care about that itself.
* | Update Syntax ToolsHans Bolinder2015-10-092-7/+8
| | | | | | | | | | Record field types have been modified due to commit 8ce35b2: "Take out automatic insertion of 'undefined' from typed record fields".
* | syntax_tools: Use the erl_anno module a bit moreHans Bolinder2015-09-153-11/+29
|/
* Prepare releaseErlang/OTP2015-06-231-0/+21
|
* Change license text to APLv2Bruce Yinhe2015-06-1812-118/+130
|
* syntax_tools app file: Update dependenciesBjörn Gustavsson2015-05-291-1/+2
| | | | The compiler application is now a dependency.
* Makefile: Eliminate crash when building with native libsBjörn Gustavsson2015-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | When building with --enable-native-libs and allowing 'make' to use multiple threads, the compiler would crash because the erl_syntax module was missing. Here is the recipe for making it crash on my computer: git clean -dxfq MAKEFLAGS='-j10' ./otp_build setup -a --enable-native-libs What would happen is that when merl_transform was used to compile itself, it would call 'merl' which in turn would call erl_syntax and erl_syntax_lib. Since those modules were not listed as dependencies, there was no guarantee that they had actually been compiled. In fact, erl_syntax is a large module so a compilation it with +native would usually not finish before it was needed for compiling merl_transform. To ensure that the erl_syntax and erl_syntax_lib modules are available when needed, they must be explicitly listed as dependencies.
* Update application versionsHans Bolinder2015-05-271-1/+1
|
* Merge branch 'richcarl/syntax_tools/add-merl'Björn Gustavsson2015-05-2519-72/+2992
|\ | | | | | | | | | | | | * richcarl/syntax_tools/add-merl: Make merl compatible with OTP 18.0 Add tests for merl in syntax_tools Include Merl in Syntax Tools
| * Make merl compatible with OTP 18.0Richard Carlsson2015-05-221-12/+1
| |
| * Add tests for merl in syntax_toolsRichard Carlsson2015-05-222-1/+93
| |
| * Include Merl in Syntax ToolsRichard Carlsson2015-05-2217-71/+2910
| |
| * Revert "Prepare release"Henrik Nord2015-05-132-15/+1
| | | | | | | | This reverts commit e09dd66dc4d89c62ddfd8c19791f9678d5d787c6.
| * Prepare releaseErlang/OTP2015-05-122-1/+15
| |
* | Update runtime_dependencies in application resource filesHans Bolinder2015-05-251-1/+1
|/ | | | | | | | | | | Applications that use the new erl_anno module are depending on STDLIB 2.5. Note that CosNotification, Megaco, SNMP, Xmerl, and Parsetools use the erl_anno module via the Yecc parsers only (the header file in lib/parsetools/include/yeccpre.hrl calls the erl_anno module). HiPE does not call the erl_anno module, but uses an exported type. We have chosen to make HiPE dependent on the erl_anno module.
* syntax_tools: Use module erl_annoHans Bolinder2015-04-302-3/+8
|
* Merge tag 'OTP-17.5'Henrik Nord2015-04-012-1/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | === OTP-17.5 === Changed Applications: - asn1-3.0.4 - common_test-1.10 - compiler-5.0.4 - crypto-3.5 - debugger-4.0.3 - dialyzer-2.7.4 - diameter-1.9 - eldap-1.1.1 - erts-6.4 - hipe-3.11.3 - inets-5.10.6 - kernel-3.2 - mnesia-4.12.5 - observer-2.0.4 - os_mon-2.3.1 - public_key-0.23 - runtime_tools-1.8.16 - ssh-3.2 - ssl-6.0 - stdlib-2.4 - syntax_tools-1.6.18 - test_server-3.8 - tools-2.7.2 - wx-1.3.3 Unchanged Applications: - cosEvent-2.1.15 - cosEventDomain-1.1.14 - cosFileTransfer-1.1.16 - cosNotification-1.1.21 - cosProperty-1.1.17 - cosTime-1.1.14 - cosTransactions-1.2.14 - edoc-0.7.16 - erl_docgen-0.3.7 - erl_interface-3.7.20 - et-1.5 - eunit-2.2.9 - gs-1.5.16 - ic-4.3.6 - jinterface-1.5.12 - megaco-3.17.3 - odbc-2.10.22 - orber-3.7.1 - ose-1.0.2 - otp_mibs-1.0.10 - parsetools-2.0.12 - percept-0.8.10 - reltool-0.6.6 - sasl-2.4.1 - snmp-5.1.1 - typer-0.9.8 - webtool-0.8.10 - xmerl-1.3.7 Conflicts: OTP_VERSION erts/vsn.mk lib/ssl/vsn.mk
| * Prepare releaseErlang/OTP2015-03-312-1/+16
| |
* | Merge branch 'richcarl/syntax_tools-remove-mnemosyne'Zandra Hird2015-02-235-357/+43
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | * richcarl/syntax_tools-remove-mnemosyne: Remove Mnemosyne rules support from EDoc Remove support for Mnemosyne rules Remove support for mnemosyne-style record field access OTP-12511
| * | Remove support for Mnemosyne rulesRichard Carlsson2014-12-225-275/+14
| | |
| * | Remove support for mnemosyne-style record field accessRichard Carlsson2014-12-223-82/+29
| | | | | | | | | | | | | | | (The support in erl_parse got removed when 'packages' were removed, since the dot notation was overlaid on the existing mnemosyne access syntax.)
* | | Merge branch 'maint'Bruce Yinhe2015-01-151-3/+3
|\ \ \ | |/ / |/| / | |/
| * fix bad format of error in epp_dodger:parse_file/3Richard Carlsson2014-12-291-3/+3
| |
* | Merge tag 'OTP-17.4'Marcus Arendt2014-12-102-1/+22
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | === OTP-17.4 === Changed Applications: - asn1-3.0.3 - common_test-1.9 - compiler-5.0.3 - crypto-3.4.2 - debugger-4.0.2 - dialyzer-2.7.3 - diameter-1.8 - edoc-0.7.16 - eldap-1.1 - erl_docgen-0.3.7 - erl_interface-3.7.20 - erts-6.3 - eunit-2.2.9 - hipe-3.11.2 - inets-5.10.4 - jinterface-1.5.12 - kernel-3.1 - megaco-3.17.3 - mnesia-4.12.4 - observer-2.0.3 - odbc-2.10.22 - otp_mibs-1.0.10 - parsetools-2.0.12 - percept-0.8.10 - runtime_tools-1.8.15 - snmp-5.1.1 - ssh-3.1 - ssl-5.3.8 - stdlib-2.3 - syntax_tools-1.6.17 - test_server-3.7.2 - tools-2.7.1 - wx-1.3.2 Unchanged Applications: - cosEvent-2.1.15 - cosEventDomain-1.1.14 - cosFileTransfer-1.1.16 - cosNotification-1.1.21 - cosProperty-1.1.17 - cosTime-1.1.14 - cosTransactions-1.2.14 - et-1.5 - gs-1.5.16 - ic-4.3.6 - orber-3.7.1 - os_mon-2.3 - ose-1.0.2 - public_key-0.22.1 - reltool-0.6.6 - sasl-2.4.1 - typer-0.9.8 - webtool-0.8.10 - xmerl-1.3.7 Conflicts: OTP_VERSION erts/vsn.mk
| * Prepare releaseErlang/OTP2014-12-092-1/+22
| |
* | Merge branch 'maint'Björn-Egil Dahlberg2014-10-277-21/+1047
|\ \ | |/
| * syntax_tools: Strengthen igor testsBjörn-Egil Dahlberg2014-10-243-2/+59
| | | | | | | | Simple test of igor:merge/3
| * syntax_tools: Strengthen erl_recomment testsBjörn-Egil Dahlberg2014-10-241-2/+34
| | | | | | | | Also erl_comment_scan tests.
| * syntax_tools: Strengthen erl_syntax comments testsBjörn-Egil Dahlberg2014-10-241-3/+25
| | | | | | | | | | Comments in the syntax tree. Tested via t_epp_dodger.
| * syntax_tools: Teach Maps to erl_syntaxBjörn-Egil Dahlberg2014-10-242-0/+32
| | | | | | | | | | | | | | | | | | Affected functions: * erl_syntax:abstract/1 * erl_syntax:concrete/1 * erl_syntax:is_leaf/1 * erl_syntax:is_literal/1
| * syntax_tools: Fix is_literal/1 for binaryBjörn-Egil Dahlberg2014-10-241-0/+7
| |
| * syntax_tools: Strengthen epp_dodger testsBjörn-Egil Dahlberg2014-10-234-3/+706
| | | | | | | | Mostly epp_dodger smoke tests.
| * syntax_tools: Strengthen erl_syntax testsBjörn-Egil Dahlberg2014-10-231-3/+178
| | | | | | | | Mostly type and conversion tests.
| * syntax_tools: Refactor away ?line macroBjörn-Egil Dahlberg2014-10-221-18/+16
| |
* | Merge branch 'maint'Magnus Lidén2014-07-024-3/+59
|\ \ | |/
| * Prepare releaseErlang/OTP2014-07-012-1/+20
| |
| * edoc, syntax_tools: Don't fail on invalid UTF-8Hans Bolinder2014-06-262-2/+39
| | | | | | | | | | | | | | | | 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.
* | Merge tag 'OTP-17.1'Marcus Arendt2014-06-242-1/+21
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | === OTP-17.1 === Changed Applications: - asn1-3.0.1 - common_test-1.8.1 - compiler-5.0.1 - crypto-3.4 - debugger-4.0.1 - dialyzer-2.7.1 - diameter-1.7 - erl_interface-3.7.17 - erts-6.1 - hipe-3.11 - inets-5.10.2 - kernel-3.0.1 - mnesia-4.12.1 - observer-2.0.1 - reltool-0.6.6 - ssh-3.0.3 - ssl-5.3.5 - stdlib-2.1 - syntax_tools-1.6.15 - test_server-3.7.1 - tools-2.6.15 - typer-0.9.8 - wx-1.3 Unchanged Applications: - cosEvent-2.1.15 - cosEventDomain-1.1.14 - cosFileTransfer-1.1.16 - cosNotification-1.1.21 - cosProperty-1.1.17 - cosTime-1.1.14 - cosTransactions-1.2.14 - edoc-0.7.13 - eldap-1.0.3 - erl_docgen-0.3.5 - et-1.5 - eunit-2.2.7 - gs-1.5.16 - ic-4.3.5 - jinterface-1.5.9 - megaco-3.17.1 - odbc-2.10.20 - orber-3.6.27 - os_mon-2.2.15 - ose-1.0 - otp_mibs-1.0.9 - parsetools-2.0.11 - percept-0.8.9 - public_key-0.22 - runtime_tools-1.8.14 - sasl-2.4 - snmp-4.25.1 - webtool-0.8.10 - xmerl-1.3.7
| * Prepare releaseErlang/OTP2014-06-192-1/+21
| |
* | Merge branch 'maint'Björn-Egil Dahlberg2014-05-142-4/+14
|\ \ | |/
| * Fix reverting map in syntax_toolsRoland Karlsson2014-05-091-2/+2
| | | | | | | | | | | | 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.