This release adds new config parameters and improve the compiling performance.
You can use the ApiFacade from your PHP project to get all phel functions. For example, this is used to render the API page: https://phel-lang.org/api.
$ php phel doc --help Description: Display the docs for any/all phel functions. Usage: doc [options] [--] [<search>] Arguments: search Search input that look for a similar function name [default: ""] Options: --ns Specify which namespaces to load. [optional]
New config parameters
This key accept a list of file-names/patterns which will be ignore at building time.
You might have a
src/local.phel file for your local testing/ideas, and so you want to keep it out of the building process.
'keep-generated-temp-files' will decide if you want to remove or keep the generated files
Every time we run any phel command (like run, test, doc, etc...), this generates temporal files (with the executable PHP code), which later get
required and run inside the PHP interpreter.
However, these files are useless after the execution, and running another command will generate a bunch of new files again. The temporal files will get removed at some point, but these files are not needed at all by default; although, this could be useful for debugging.
- Rename command
- Allow underscores in decimal numbers
For a full list of changes have a look at the Changelog.