videolang / interactive-syntax Goto Github PK
View Code? Open in Web Editor NEWLibrary for building Interactive Direct Manipulation Tools (IDMTs) in Racket.
License: Other
Library for building Interactive Direct Manipulation Tools (IDMTs) in Racket.
License: Other
Apologies - this was poorly logged originally
I get this error when I attempt to run any of the tests, starting with tests/example.rkt
Kind regards,
Stephen
The '#:result' doesn't look right? I can't find it in the reference for for/fold
editor/stdlib.rkt:346:4
(for/fold ([accum-id init-expr] ...) (for-clause ...) body-or-break ... body)
Welcome to DrRacket, version 6.11 [3m].
Language: racket/base, with debugging; memory limit: 128 MB.
. ../editor/stdlib.rkt:346:4: for/fold/derived: bad syntax in: (for/fold/derived (for/fold ((res (quote ())) (w 0) (h 0) (x (+ l sx)) (y (+ t sy)) #:result (values (reverse res) (max sw (+ w l r)) (max sh (+ h t b)) l t r b)) ((i (in-list editor-list))) (cond ((and stretchable? (is-a? i stretchable<$>)) (define-values (w* h*) (send (car i) get-max-extent x y)) (values (cons (list w* h*) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*))) (else (define-values (w* h* l t r b) (send (car i) get-extent x y)) (values (cons (list w* h* l t r b) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*))))) ((res (quote ())) (w 0) (h 0) (x (+ l sx)) (y (+ t sy)) #:result (values (reverse res) (max sw (+ w l r)) (max sh (+ h t b)) l t r b)) ((i (in-list editor-list))) (cond ((and stretchable? (is-a? i stretchable<$>)) (define-values (w* h*) (send (car i) get-max-extent x y)) (values (cons (list w* h*) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*))) (else (define-values (w* h* l t r b) (send (car i) get-extent x y)) (values (cons (list w* h* l t r b) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*)))))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.