René's URL Explorer Experiment


Title: Issue · GitHub

Open Graph Title: Issue · lightscript/lightscript

X Title: Issue · lightscript/lightscript

Description: JavaScript, with cleaned-up syntax and a few conveniences. - Issue · lightscript/lightscript

Open Graph Description: JavaScript, with cleaned-up syntax and a few conveniences. - Issue · lightscript/lightscript

X Description: JavaScript, with cleaned-up syntax and a few conveniences. - Issue · lightscript/lightscript

Opengraph URL: https://github.com/lightscript/lightscript

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[compiler] `IfExpression`s and `AssignmentExpression`s in loop bodies","articleBody":"## Problem\r\n`lightscript@0.5.9`:\r\n[Lscdiag](https://wcjohnson.github.io/lscdiag/?v=1\u0026s=eMOafVDDkU7DgzAMw7wVK0_CoMKVKV0pwrAOUMK_woAfYBMKwqnDm8KFwqVpSRzChMKow7rDrzjCg8KHPsONL8OnO8KfwqzCsyfDkcKab8KKHsKDwqgmw7HDlsKrMWFdw7dIwqpRwqQSw5Mfw7c_ZcOuw7JOchXDpsKuw5zDksODw6ZTwocoKsOyEcOnw6zCkmMSYcKIXmPDqmzDkMKiEsOtw5U1w5w8w68dQDt4wrBIYMOgCcOkwo7DoRHDssKEwqtVwpXDhgBfw4rDssOIwrTCoMKPwqhPw7_DolnDnsKwXizDuV_CjzbDoMOSVsKww612w4nDt05ww55oUhxSw698w7XCq8OMw6QhEwEtasOCw6ZlaDjCq8KLw5bCpsK7BsOXwprDrsO8woPCoR_CjUXDj8O5wq3DqcKOFMK0NyPDlXJdwq7Ct2LCnsOZa00gw552w6EXwod5w74FwqnDhW3Dsg#)\r\n```js\r\nf() -\u003e\r\n  for let i = 0; i \u003c 10; i++:\r\n    val = if check:\r\n      val2 = 3\r\n      val2\r\n    else:\r\n      val3 = 4\r\n      val3\r\n```\r\ncompiles to\r\n```js\r\nfunction f() {\r\n  for (let i = 0; i \u003c 10; i++) {\r\n    const val = check ? function () {\r\n      var _ret;\r\n\r\n      const val2 = 3;\r\n      _ret = val2;\r\n      return _ret;\r\n    }() : function () {\r\n      const val3 = 4;\r\n      return _ret = val3;\r\n    }();\r\n  }\r\n}\r\n```\r\n\r\nThe generated `_ret` var is not in scope in the second `function` block, so this code will crash with a no-undef error if `check` is false. However, it's a mystery to me why that `_ret` var is being generated at all.\r\n\r\nIf the enclosing `for` loop is removed, the problem goes away: [lscdiag](https://wcjohnson.github.io/lscdiag/?v=1\u0026s=eMOafU_DkU7DgzAMw7zClcOITyDClcKpWynCsErCoH7DgX7CgE0owqRuZ3DDky5xEMKiw4rCv8KTw6zCpW_Ds8KLw69OJ8O7bsKBwp5-JTjDtMOQLMOwMcOqOcOvwrYdUXTCp0VnZsK-wp7Dv8Oqwq3DnQ5lwprCisKew6rCvcK8w6wuw4YHaMOEBcKMw4Utw4cCfgrDjmBGw6wNNMOQw5_DncKrwofCt8KjVcOqR8KzelXDlCtzRsOzw51kw6kqw67CklrCrSwjZMKPwqvCoUrChsOHwpUdLcKkEMKBw7IPw5HCn8Kpw4p7WcKUwqcCPDIaw4HDrjB1KcKADcOMOcOsZHsawq7DhcKmcSZGwpdCMQ1nw7HDhsORLG3CucKpN3vCiDF5wpnCvMKkazcKwp5iw7wHwp_Dr2TCkQ)\r\n","author":{"url":"https://github.com/wcjohnson","@type":"Person","name":"wcjohnson"},"datePublished":"2017-09-24T21:02:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/47/lightscript/issues/47"}

route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:e3ac0ac1-fc46-ba7c-00d8-181f7ecbe82e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFD2:12B1F0:E585F9:1509AC4:6A4E31D4
html-safe-noncedee57c7165b36ab0fd6cbca43968f71caddc18fdb50dc392399d01e38e4e00a0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkQyOjEyQjFGMDpFNTg1Rjk6MTUwOUFDNDo2QTRFMzFENCIsInZpc2l0b3JfaWQiOiI1Mjg5MTczOTkzOTc4MjEyODIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4bdcd18e0f826ad2f21d254df72fe58619b429afe22d441bab06a9f8404cba4f
hovercard-subject-tagrepository:63191213
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lightscript/lightscript/issues/47
twitter:imagehttps://opengraph.githubassets.com/4c89904e5df713c7f3f45a6b3858b0a7b1973cf8d9b862c9f979cf9393158b4e/lightscript/lightscript
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4c89904e5df713c7f3f45a6b3858b0a7b1973cf8d9b862c9f979cf9393158b4e/lightscript/lightscript
og:image:altJavaScript, with cleaned-up syntax and a few conveniences. - Issue · lightscript/lightscript
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-cache
go-importgithub.com/lightscript/lightscript git https://github.com/lightscript/lightscript.git
octolytics-dimension-user_id20427295
octolytics-dimension-user_loginlightscript
octolytics-dimension-repository_id63191213
octolytics-dimension-repository_nwolightscript/lightscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63191213
octolytics-dimension-repository_network_root_nwolightscript/lightscript
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
release42a6d378d7587a44c93aca255096cd66b7c8eb2d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lightscript/lightscript/issues/47#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flightscript%2Flightscript%2Fissues%2F47
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flightscript%2Flightscript%2Fissues%2F47
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=lightscript%2Flightscript
Reloadhttps://github.com/lightscript/lightscript/issues/47
Reloadhttps://github.com/lightscript/lightscript/issues/47
Reloadhttps://github.com/lightscript/lightscript/issues/47
Please reload this pagehttps://github.com/lightscript/lightscript/issues/47
lightscript https://github.com/lightscript
lightscripthttps://github.com/lightscript/lightscript
Notifications https://github.com/login?return_to=%2Flightscript%2Flightscript
Fork 10 https://github.com/login?return_to=%2Flightscript%2Flightscript
Star 144 https://github.com/login?return_to=%2Flightscript%2Flightscript
Code https://github.com/lightscript/lightscript
Issues 21 https://github.com/lightscript/lightscript/issues
Pull requests 0 https://github.com/lightscript/lightscript/pulls
Actions https://github.com/lightscript/lightscript/actions
Projects https://github.com/lightscript/lightscript/projects
Security and quality 0 https://github.com/lightscript/lightscript/security
Insights https://github.com/lightscript/lightscript/pulse
Code https://github.com/lightscript/lightscript
Issues https://github.com/lightscript/lightscript/issues
Pull requests https://github.com/lightscript/lightscript/pulls
Actions https://github.com/lightscript/lightscript/actions
Projects https://github.com/lightscript/lightscript/projects
Security and quality https://github.com/lightscript/lightscript/security
Insights https://github.com/lightscript/lightscript/pulse
[compiler] IfExpressions and AssignmentExpressions in loop bodieshttps://github.com/lightscript/lightscript/issues/47#top
https://github.com/wcjohnson
wcjohnsonhttps://github.com/wcjohnson
on Sep 24, 2017https://github.com/lightscript/lightscript/issues/47#issue-260115796
Lscdiaghttps://wcjohnson.github.io/lscdiag/?v=1&s=eMOafVDDkU7DgzAMw7wVK0_CoMKVKV0pwrAOUMK_woAfYBMKwqnDm8KFwqVpSRzChMKow7rDrzjCg8KHPsONL8OnO8KfwqzCsyfDkcKab8KKHsKDwqgmw7HDlsKrMWFdw7dIwqpRwqQSw5Mfw7c_ZcOuw7JOchXDpsKuw5zDksODw6ZTwocoKsOyEcOnw6zCkmMSYcKIXmPDqmzDkMKiEsOtw5U1w5w8w68dQDt4wrBIYMOgCcOkwo7DoRHDssKEwqtVwpXDhgBfw4rDssOIwrTCoMKPwqhPw7_DolnDnsKwXizDuV_CjzbDoMOSVsKww612w4nDt05ww55oUhxSw698w7XCq8OMw6QhEwEtasOCw6ZlaDjCq8KLw5bCpsK7BsOXwprDrsO8woPCoR_CjUXDj8O5wq3DqcKOFMK0NyPDlXJdwq7Ct2LCnsOZa00gw552w6EXwod5w74FwqnDhW3Dsg
lscdiaghttps://wcjohnson.github.io/lscdiag/?v=1&s=eMOafU_DkU7DgzAMw7zClcOITyDClcKpWynCsErCoH7DgX7CgE0owqRuZ3DDky5xEMKiw4rCv8KTw6zCpW_Ds8KLw69OJ8O7bsKBwp5-JTjDtMOQLMOwMcOqOcOvwrYdUXTCp0VnZsK-wp7Dv8Oqwq3DnQ5lwprCisKew6rCvcK8w6wuw4YHaMOEBcKMw4Utw4cCfgrDjmBGw6wNNMOQw5_DncKrwofCt8KjVcOqR8KzelXDlCtzRsOzw51kw6kqw67CklrCrSwjZMKPwqvCoUrChsOHwpUdLcKkEMKBw7IPw5HCn8Kpw4p7WcKUwqcCPDIaw4HDrjB1KcKADcOMOcOsZHsawq7DhcKmcSZGwpdCMQ1nw7HDhsORLG3CucKpN3vCiDF5wpnCvMKkazcKwp5iw7wHwp_Dr2TCkQ
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.