Abstract

We analyze the complexity of a programming language operating on stacks, introducing a syntactical measure σ such that to each program P a natural number σ(P) is assigned; the measure considers the influence on the complexity of programs of nesting loops and, simultaneously, of sequences of non-size-increasing subprograms. We prove that functions computed by stack programs of σ measure n have a length bound b∈En+2 (the n+2-th Grzegorczyk class), that is |f(w→)|≤b(|w→|). This result represents an improvement with respect to the bound obtained via the μ-measure presented in [L. Kristiansen and K.-H. Niggl, On the computational complexity of imperative programming languages. Theoretical Computer Science, to appear].

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.