Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Simple Fibonacci program can't be parsed #30

Description

@yegor256

I'm trying this one:

[x] > fibo
  if. > @
    x.lt 2
    1
    plus.
      fibo (x.minus 1)
      fibo (x.minus 2)

I'm getting:

5:9:
  |
5 |     plus.
  |         ^^
unexpected ".<newline>"
expecting '#', ''', '+', '-', '_', end of line, letter, numeric character, or space

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions