Skip to content

Mandelbrot example doesn't transpile #39

Description

@dboreham

I tried to compile the Mandelbrot set example in kroc: https://github.com/concurrency/kroc/blob/master/demos/ttygames/mandelbrot.occ

I get parse errors like this:

$ ./occam2go -I kroc/modules/course/libsrc -D TARGET.BITS.PER.WORD=32 -o mandelbrot.go kroc/demos/ttygames/mandelbrot.occ
Parse errors:
  line 4344: expected IDENT, got NEWLINE
  line 4346: unexpected token: :
  line 4359: expected type after VAL, got [
  line 4359: unexpected token: INT
  line 4359: unexpected token: ]
  line 4361: expected type name in protocol, got [
  line 4361: unexpected token: INT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions