René's URL Explorer Experiment


Title: fix(#170): stop rewriting "-" as "-1*" before compiling by sspickle · Pull Request #223 · vpython/glowscript · GitHub

Open Graph Title: fix(#170): stop rewriting "-" as "-1*" before compiling by sspickle · Pull Request #223 · vpython/glowscript

X Title: fix(#170): stop rewriting "-" as "-1*" before compiling by sspickle · Pull Request #223 · vpython/glowscript

Description: Contribute to vpython/glowscript development by creating an account on GitHub.

Open Graph Description: Summary Fixes #170. Before compiling, the preprocessor rewrote every - as -1*, except after e/E in a number, after **, and before =. The goal was for -a**.5 to mean -(a**.5). But -1* binds tighter ...

X Description: Summary Fixes #170. Before compiling, the preprocessor rewrote every - as -1*, except after e/E in a number, after **, and before =. The goal was for -a**.5 to mean -(a**.5). But -1* binds tighter ...

Opengraph URL: https://github.com/vpython/glowscript/pull/223

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d45b594f-83a7-475c-3e81-3caa6d99c2b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id834E:1EFC64:5BE116:80AAF3:6B0076F5
html-safe-nonce3e3f141e7420cca0c0aeb5d5195a7d592776ba891b8b1ef2ce8a20e788dce5ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzRFOjFFRkM2NDo1QkUxMTY6ODBBQUYzOjZCMDA3NkY1IiwidmlzaXRvcl9pZCI6IjY2MzE5OTM2NDIxODM1ODc1NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace64a242a35b5c5f2a249df475a99ba0881869b55696d77d3d9e248a07e1cd066
hovercard-subject-tagpull_request:5108919032
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/vpython/glowscript/223/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d8255eeaed83790b033e2ef787684c20f2d78c11cefe9e581f40e428fc308cc9/vpython/glowscript/pull/223
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d8255eeaed83790b033e2ef787684c20f2d78c11cefe9e581f40e428fc308cc9/vpython/glowscript/pull/223
og:image:altSummary Fixes #170. Before compiling, the preprocessor rewrote every - as -1*, except after e/E in a number, after **, and before =. The goal was for -a**.5 to mean -(a**.5). But -1* binds tighter ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesspickle
hostnamegithub.com
expected-hostnamegithub.com
None75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16
turbo-cache-controlno-cache
go-importgithub.com/vpython/glowscript git https://github.com/vpython/glowscript.git
octolytics-dimension-user_id1280757
octolytics-dimension-user_loginvpython
octolytics-dimension-repository_id187905631
octolytics-dimension-repository_nwovpython/glowscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id187905631
octolytics-dimension-repository_network_root_nwovpython/glowscript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84e563eb4b55f8fa102f325f117533cee9e3df4a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/vpython/glowscript/pull/223#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvpython%2Fglowscript%2Fpull%2F223
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvpython%2Fglowscript%2Fpull%2F223
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=vpython%2Fglowscript
Reloadhttps://github.com/vpython/glowscript/pull/223
Reloadhttps://github.com/vpython/glowscript/pull/223
Reloadhttps://github.com/vpython/glowscript/pull/223
vpythonhttps://github.com/vpython
glowscripthttps://github.com/vpython/glowscript
Codehttps://github.com/vpython/glowscript
Issues9 (9)https://github.com/vpython/glowscript/issues
Pull requests2 (2)https://github.com/vpython/glowscript/pulls
Actionshttps://github.com/vpython/glowscript/actions
Projectshttps://github.com/vpython/glowscript/projects
Security and qualityhttps://github.com/vpython/glowscript/security
Insightshttps://github.com/vpython/glowscript/insights
https://github.com/vpython/glowscript
sspicklehttps://github.com/sspickle
masterhttps://github.com/vpython/glowscript/tree/master
fix/170-negative-signhttps://github.com/vpython/glowscript/tree/fix/170-negative-sign
Conversationhttps://github.com/vpython/glowscript/pull/223
Commits1 (1)https://github.com/vpython/glowscript/pull/223/commits
Checkshttps://github.com/vpython/glowscript/pull/223/checks
Files changedhttps://github.com/vpython/glowscript/pull/223/files
fix(#170): stop rewriting "-" as "-1*" before compilinghttps://github.com/vpython/glowscript/pull/223#top
sspicklehttps://github.com/sspickle
masterhttps://github.com/vpython/glowscript/tree/master
fix/170-negative-signhttps://github.com/vpython/glowscript/tree/fix/170-negative-sign
https://github.com/sspickle
sspicklehttps://github.com/sspickle
Nov 1, 2026https://github.com/vpython/glowscript/pull/223#issue-6148833302
#170https://github.com/vpython/glowscript/issues/170
#217https://github.com/vpython/glowscript/issues/217
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/vpython/glowscript/pull/223
https://github.com/sspickle
https://github.com/claude
fix(https://github.com/vpython/glowscript/pull/223/commits/688143b2ee60488be0a22001be1e68d357a7161d
#170https://github.com/vpython/glowscript/issues/170
): stop rewriting "-" as "-1*" before compilinghttps://github.com/vpython/glowscript/pull/223/commits/688143b2ee60488be0a22001be1e68d357a7161d
688143bhttps://github.com/vpython/glowscript/pull/223/commits/688143b2ee60488be0a22001be1e68d357a7161d
https://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iLhttps://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iL
https://github.com/sspickle
sspicklehttps://github.com/sspickle
c14f759https://github.com/vpython/glowscript/commit/c14f759f9f998694348cd6249afcdf8a5ce6eeaf
Nov 1, 2026https://github.com/vpython/glowscript/pull/223#event-34839724321
https://github.com/sspickle
sspicklehttps://github.com/sspickle
Nov 1, 2026 https://github.com/vpython/glowscript/pull/223#ref-issue-6134420575
Refresh embedded RapydScript-NG (0.7.22 → upstream 0.8.7+) #217 https://github.com/vpython/glowscript/issues/217
sspicklehttps://github.com/sspickle
Nov 2, 2026 https://github.com/vpython/glowscript/pull/223#ref-commit-e975f06
https://github.com/sspickle
https://github.com/claude
Stop rewriting "-" as "-1*" before compiling (port ofhttps://github.com/vpython/rsWVPRunner/commit/e975f061a89414871f69814f3469679e20a119eb
vpython/glowscr…https://github.com/vpython/glowscript/pull/223
e975f06https://github.com/vpython/rsWVPRunner/commit/e975f061a89414871f69814f3469679e20a119eb
…ipt#223https://github.com/vpython/glowscript/pull/223
https://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iLhttps://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iL
Port glowscript compiler fixes: randint with negatives, 3/-3, and - -x vpython/rsWVPRunner#5 https://github.com/vpython/rsWVPRunner/pull/5
Pin rsWVPRunner by GitHub release (randint + 3/-3 fixes) PICUP-Physics/trinket-oss#369 https://github.com/PICUP-Physics/trinket-oss/pull/369
Fix two #223 regressions: "-(x+1)**2" sign and "- -x" as "--x" #225 https://github.com/vpython/glowscript/pull/225
Arithmetic that differs from Python: % with negatives, ** grouping, round halves, bool as int, e #224 https://github.com/vpython/glowscript/issues/224
sspicklehttps://github.com/sspickle
Nov 3, 2026 https://github.com/vpython/glowscript/pull/223#ref-commit-61d0edf
https://github.com/sspickle
https://github.com/claude
fix: parse ** tighter than a unary operator on its left, as Python doeshttps://github.com/vpython/glowscript/commit/61d0edf281417289e5a257ede735d40328be9054
61d0edfhttps://github.com/vpython/glowscript/commit/61d0edf281417289e5a257ede735d40328be9054
#223https://github.com/vpython/glowscript/pull/223
#223https://github.com/vpython/glowscript/pull/223
#224https://github.com/vpython/glowscript/issues/224
#170https://github.com/vpython/glowscript/issues/170
https://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iLhttps://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iL
sspicklehttps://github.com/sspickle
Nov 5, 2026 https://github.com/vpython/glowscript/pull/223#ref-commit-98805c6
https://github.com/sspickle
https://github.com/claude
Rebuild the 3.2 RScompiler package with the sign and power fixeshttps://github.com/vpython/glowscript/commit/98805c68ee67d1db6b8c2b471f821ca2bf572df7
98805c6https://github.com/vpython/glowscript/commit/98805c68ee67d1db6b8c2b471f821ca2bf572df7
#223https://github.com/vpython/glowscript/pull/223
https://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iLhttps://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iL
sspicklehttps://github.com/sspickle
Nov 5, 2026 https://github.com/vpython/glowscript/pull/223#ref-commit-f9bf597
https://github.com/sspickle
https://github.com/claude
fix: "- -x" and unary minus with ** compile as in Python; rebuild the…https://github.com/vpython/glowscript/commit/f9bf597f58a48003b2a54cb17d70acfabdb37e8e
f9bf597https://github.com/vpython/glowscript/commit/f9bf597f58a48003b2a54cb17d70acfabdb37e8e
#225https://github.com/vpython/glowscript/pull/225
#170https://github.com/vpython/glowscript/issues/170
#170https://github.com/vpython/glowscript/issues/170
https://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iLhttps://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iL
#223https://github.com/vpython/glowscript/pull/223
#223https://github.com/vpython/glowscript/pull/223
#224https://github.com/vpython/glowscript/issues/224
#170https://github.com/vpython/glowscript/issues/170
https://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iLhttps://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iL
#223https://github.com/vpython/glowscript/pull/223
https://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iLhttps://claude.ai/code/session_01QNw6KLiif2r9zSoSQug4iL
https://github.co/hiddenchars
https://github.com/vpython/glowscript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvpython%2Fglowscript%2Fpull%2F223
Please reload this pagehttps://github.com/vpython/glowscript/pull/223
Improper handling of negative signs with exponents and modulo https://github.com/vpython/glowscript/issues/170
Please reload this pagehttps://github.com/vpython/glowscript/pull/223
https://github.com/sspickle
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.