summaryrefslogtreecommitdiff
path: root/lib/diameter/src/compiler/diameter_make.erl
Commit message (Collapse)AuthorAgeFilesLines
* Don't use deprecated erlang:get_stacktrace/0Anders Svensson2018-06-071-3/+3
|
* update copyright-yearHenrik Nord2016-03-151-1/+1
|
* Change license text to APLv2Bruce Yinhe2015-06-181-9/+10
|
* Merge branch 'anders/diameter/unicode_path/OTP-11655'Anders Svensson2014-03-311-12/+20
|\ | | | | | | | | * anders/diameter/unicode_path/OTP-11655: Fix unicode path failure in diameter_make:codec/2
| * Fix unicode path failure in diameter_make:codec/2Anders Svensson2014-03-201-13/+21
| | | | | | | | | | A dictionary path containing a unicode codepoint > 255 caused the function to fail when iolist_to_binary/1 was applied to the path.
* | Don't format diameter_make:codec/2 errorsAnders Svensson2014-01-161-4/+10
|/ | | | | | | Instead, add diameter_make:format_error/1 to allow the caller to format if desired, which is what applications like compiler and yecc do. Use this to check that the expected error is the one actually generated in the compiler suite.
* Return compilable forms instead of beamAnders Svensson2013-12-011-3/+2
| | | | That is, preprocessed forms that can be passed to compile:forms/1,2.
* Fix diameter_make:flatten/1Anders Svensson2013-12-011-9/+87
| | | | | To set @avp_vendor_id, @codecs and @custom_types as required for imported avps.
* Modify type that currently causes dialyzer woeAnders Svensson2013-12-011-1/+1
| | | | | | The intention was that the type would represent an improper list whose head was an integer and whose tail was an orddict but that doesn't seem to be dialyzer's interpretation anyway.
* Simplify and extend diameter_make interfaceAnders Svensson2013-12-011-87/+79
| | | | | | | | | | | In particular, make codec/2 flexible as to what's generated, the formats (erl, hrl, parse, forms and beam) being passed in the options list and defaulting to [erl, hrl]. The 'parse' format is the internal format to which dictionaries are parsed, which can be manipulated by flatten/1 before being passed back to codec/2 or format/1. Remove the (undocumented) dict/1,2 since codec/2 now subsumes it with the 'parse' option.
* Add diameter_make:flatten/1, remove reformat/1Anders Svensson2013-12-011-15/+19
| | | | | The latter is now unnecessary given that codec/2 can return a parse and format/1 can return the dictionary format.
* Extend diameter_make:codec/2Anders Svensson2013-11-281-25/+80
| | | | | Function can now take a literal dictionary as input, instead of a path, and can return results instead of writing them to the filesystem.
* Make forms a separate output from diameter_codegenAnders Svensson2013-11-281-1/+2
| | | | Instead of being output as a consequence of a debug option.
* Remove last remnants of "spec"Anders Svensson2013-11-281-2/+2
|
* Tweak diameter_make interfaceAnders Svensson2011-12-041-17/+59
|
* Adapt diameter_makeAnders Svensson2011-12-021-25/+37
|
* Add diameter_make as compilation interfaceAnders Svensson2011-10-171-82/+40
| | | | As a module-based alternative to the escript diameterc.
* Initial commit of the diameter application.Anders Svensson2011-05-181-0/+120
The application provides an implementation of the Diameter protocol as defined in RFC 3588.