Joe Politz

Results 194 comments of Joe Politz

For anyone coming to this issue and wondering how e.g. www.pyret.org manages syntax highlighting, for web sites we use CodeMirror-mode, which uses JavaScript and CodeMirror along with pyret-codemirror-mode to format...

Thanks for reporting! What should change? The syntax? The error message? The “that” and “it” in the last two sentences are vague. I'm not sure I believe that different syntax...

It's frustrating how hard it is to do the column error statically. We _could_ specialize shadowing errors in query binding positions, and do something like this: "Is `"col"` the name...

So I'm working with @anzook on an integration of code.pyret.org into Virtual Math Teams (https://vmt.mathematicalthinking.org/). The idea is that they manage a bunch of state + social stuff around iframed...

Quick ideas: I think a generalization of this is that there are many cases where the calculation's result, along with other information about the expression on the LHS, ought to...

It almost goes without saying that this would also be useful in the first few hours of Bootstrap, and explicit guidance for adding a `*` could even make sense.

I would bet that this predicate covers enough cases to make a difference: `is-num-expr(function-part) and is-single-argument(args) and is-binop-expr(args.get(0))` And sure, it's niche: it's precisely the niche of beginner programmers who...

`wrap` should just be removed as vestigial. It was necessary when `PyretNumber`, `PyretString`, etc were represented as objects, which hasn't been the case for years, and also when we tried...

I'm happy to do this in a standalone commit, wait until other image work you're doing is done, or whatever is more convenient.