diff options
author | Hans Bolinder <[email protected]> | 2017-03-09 10:12:31 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-04-27 10:26:48 +0200 |
commit | 6edb6a45d8b2d2993f50176b3324d3fff97fe123 (patch) | |
tree | 258d6fe7fd2fde3a56920511e2130fb08ece7a50 /erl-build-tool-vars.sh | |
parent | 70074be307908d8913e042dcf564487028c53f84 (diff) | |
download | otp-6edb6a45d8b2d2993f50176b3324d3fff97fe123.tar.gz otp-6edb6a45d8b2d2993f50176b3324d3fff97fe123.tar.bz2 otp-6edb6a45d8b2d2993f50176b3324d3fff97fe123.zip |
stdlib: Improve the Erlang shell's handling of references
As of Erlang/OTP 20.0, the type of ETS tables, ets:tid(), is a
reference(). A request was put forward that the Erlang shell should be
able to handle references in its input.
This commit introduces an extended parser in module lib. It can parse
pids, ports, references, and external funs under the condition that
they can be created in the running system. The parser is meant to be
used internally in Erlang/OTP. The alternative, to extend erl_scan and
erl_parse, was deemed inferior as it would require the abstract format
be able to represent pids, ports, references, and funs, which would be
confusing as they are not expressions as such, but data types.
Diffstat (limited to 'erl-build-tool-vars.sh')
0 files changed, 0 insertions, 0 deletions