Skip to content

DrRacket and Sweet Expressions inserted image support  #40

Description

@Symbol-Research

In DrRacket, If you insert an image into a sweet expression using menu->Insert->Insert Image it generates the following error: peek-char: non-character in an unsupported context port: #input-port:string

test :

#lang sweet-exp racket
require picturing-programs
print << Insert Image from Menu >>

result:
IDE reports error - peek-char: non-character in an unsupported context port: #input-port:string
Same error reported when program is run.

Expected result - should work as per equivalent racket code ie:

#lang racket
(require picturing-programs)
(print << Insert Image from Menu >>)

;on run - outputs image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions