Mercurial > octave
view CITATION @ 33399:29c07704f120
refactor parse rules for function/script and classdef files
* lex.ll (base_lexer::handle_token): Also conditionally set
m_arguments_is_keyword to false.
* oct-parse.yy (arguments_block_list): Rename from function_body1.
(file): Use statement_list instead of "opt_nl opt_list" in ordinary
function/script rule and "opt_sep" instead of "opt_nl" in classdef rule.
(function): Eliminate opt_sep from rules.
(function_body): Eliminate at_first_executable_stmt from rules.
(at_first_executable_stmt, opt_nl, nl): Delete now unused nonterminal
type declarations and rules.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 13 Apr 2024 02:14:32 -0400 |
parents | ebaa3582e140 |
children | f7f956555e4a |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2024). GNU Octave version 9.1.0 manual: a high-level interactive language for numerical computations. URL https://www.gnu.org/software/octave/doc/v9.1.0/ A BibTeX entry for LaTeX users is: @manual{, title = {{GNU Octave} version 9.1.0 manual: a high-level interactive language for numerical computations}, author = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring}, year = {2024}, url = {https://www.gnu.org/software/octave/doc/v9.1.0/}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also 'citation pkgname' for citing Octave packages.