-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (31 loc) · 29.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>WhirlScript | A next generation script language</title>
<meta name="description" content="A next generation script language">
<link rel="preload stylesheet" href="/assets/style.VWxuWQJ7.css" as="style">
<script type="module" src="/assets/app.pYb-5b6q.js"></script>
<link rel="preload" href="/assets/inter-roman-latin.bvIUbFQP.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/framework.jBbNkKut.js">
<link rel="modulepreload" href="/assets/chunks/theme.n7mG-CDv.js">
<link rel="modulepreload" href="/assets/index.md.gdqGbKBo.lean.js">
<link rel="icon" type="image/svg+xml" href="/logo.svg">
<meta name="theme-color" content="#4879A8">
<meta name="og:type" content="website">
<meta name="og:site_name" content="WhirlScript">
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
<meta name="og:locale" content="en">
</head>
<body>
<div id="app"><div class="Layout" data-v-8299ef9c><!--[--><!--]--><!--[--><span tabindex="-1" data-v-9ba884d7></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-9ba884d7> Skip to content </a><!--]--><!----><header class="VPNav" data-v-8299ef9c data-v-4cd65438><div class="VPNavBar top" data-v-4cd65438 data-v-71fd2781><div class="container" data-v-71fd2781><div class="title" data-v-71fd2781><div class="VPNavBarTitle" data-v-71fd2781 data-v-8ebd7193><a class="title" href="/" data-v-8ebd7193><!--[--><!--]--><!--[--><img class="VPImage logo" src="/logo-large.svg" width="24" height="24" alt data-v-1a018b73><!--]--><!--[-->WhirlsScript<!--]--><!--[--><!--]--></a></div></div><div class="content" data-v-71fd2781><div class="curtain" data-v-71fd2781></div><div class="content-body" data-v-71fd2781><!--[--><!--]--><div class="VPNavBarSearch search" data-v-71fd2781><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg class="DocSearch-Search-Icon" width="20" height="20" viewBox="0 0 20 20" aria-label="search icon"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-71fd2781 data-v-ff526a7b><span id="main-nav-aria-label" class="visually-hidden" data-v-ff526a7b>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/guide/introduction/what-is-whirlscript" tabindex="0" data-v-ff526a7b data-v-5667e5f4><!--[--><span data-v-5667e5f4>Guide</span><!--]--></a><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-ff526a7b data-v-f7f98c2c><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-f7f98c2c><span class="text" data-v-f7f98c2c><!----><span data-v-f7f98c2c>Mirrors</span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-f7f98c2c><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-f7f98c2c><div class="VPMenu" data-v-f7f98c2c data-v-a51a3982><div class="items" data-v-a51a3982><!--[--><!--[--><div class="VPMenuLink" data-v-a51a3982 data-v-68acb448><a class="VPLink link vp-external-link-icon" href="https://whirlscript.github.io" target="_blank" rel="noreferrer" data-v-68acb448><!--[-->GitHub Pages<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-a51a3982 data-v-68acb448><a class="VPLink link vp-external-link-icon" href="https://whirlscript.vercel.app" target="_blank" rel="noreferrer" data-v-68acb448><!--[-->Vercel<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-a51a3982 data-v-68acb448><a class="VPLink link vp-external-link-icon" href="https://whirlscript.pages.dev" target="_blank" rel="noreferrer" data-v-68acb448><!--[-->Cloudflare Pages<!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-a51a3982 data-v-68acb448><a class="VPLink link vp-external-link-icon" href="https://whirlscript.zeabur.app" target="_blank" rel="noreferrer" data-v-68acb448><!--[-->Zeabur (Beta)<!--]--></a></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--]--></nav><div class="VPFlyout VPNavBarTranslations translations" data-v-71fd2781 data-v-961e6b81 data-v-f7f98c2c><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="Change language" data-v-f7f98c2c><span class="text" data-v-f7f98c2c><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="option-icon" data-v-f7f98c2c><path d="M0 0h24v24H0z" fill="none"></path><path d=" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z " class="css-c4d79v"></path></svg><!----><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="text-icon" data-v-f7f98c2c><path d="M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"></path></svg></span></button><div class="menu" data-v-f7f98c2c><div class="VPMenu" data-v-f7f98c2c data-v-a51a3982><!----><!--[--><!--[--><div class="items" data-v-961e6b81><p class="title" data-v-961e6b81>English</p><!--[--><div class="VPMenuLink" data-v-961e6b81 data-v-68acb448><a class="VPLink link" href="/zh/" data-v-68acb448><!--[-->简体中文<!--]--></a></div><!--]--></div><!--]--><!--]--></div></div></div><div class="VPNavBarAppearance appearance" data-v-71fd2781 data-v-320c4052><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="toggle dark mode" aria-checked="false" data-v-320c4052 data-v-20e733d8 data-v-66ce6473><span class="check" data-v-66ce6473><span class="icon" data-v-66ce6473><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-20e733d8><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-20e733d8><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-71fd2781 data-v-33678026 data-v-54c80622><!--[--><a class="VPSocialLink no-icon" href="https://github.com/WhirlScript" aria-label="github" target="_blank" rel="noopener" data-v-54c80622 data-v-7416708d><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-71fd2781 data-v-f0a46465 data-v-f7f98c2c><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-f7f98c2c><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="icon" data-v-f7f98c2c><circle cx="12" cy="12" r="2"></circle><circle cx="19" cy="12" r="2"></circle><circle cx="5" cy="12" r="2"></circle></svg></button><div class="menu" data-v-f7f98c2c><div class="VPMenu" data-v-f7f98c2c data-v-a51a3982><!----><!--[--><!--[--><div class="group translations" data-v-f0a46465><p class="trans-title" data-v-f0a46465>English</p><!--[--><div class="VPMenuLink" data-v-f0a46465 data-v-68acb448><a class="VPLink link" href="/zh/" data-v-68acb448><!--[-->简体中文<!--]--></a></div><!--]--></div><div class="group" data-v-f0a46465><div class="item appearance" data-v-f0a46465><p class="label" data-v-f0a46465>Appearance</p><div class="appearance-action" data-v-f0a46465><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="toggle dark mode" aria-checked="false" data-v-f0a46465 data-v-20e733d8 data-v-66ce6473><span class="check" data-v-66ce6473><span class="icon" data-v-66ce6473><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="sun" data-v-20e733d8><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="moon" data-v-20e733d8><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"></path></svg><!--]--></span></span></button></div></div></div><div class="group" data-v-f0a46465><div class="item social-links" data-v-f0a46465><div class="VPSocialLinks social-links-list" data-v-f0a46465 data-v-54c80622><!--[--><a class="VPSocialLink no-icon" href="https://github.com/WhirlScript" aria-label="github" target="_blank" rel="noopener" data-v-54c80622 data-v-7416708d><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-71fd2781 data-v-1b775666><span class="container" data-v-1b775666><span class="top" data-v-1b775666></span><span class="middle" data-v-1b775666></span><span class="bottom" data-v-1b775666></span></span></button></div></div></div></div><!----></header><!----><!----><div class="VPContent is-home" id="VPContent" data-v-8299ef9c data-v-6beb14a0><div class="VPHome" data-v-6beb14a0 data-v-663e4ddb><!--[--><!--]--><div class="VPHero has-image VPHomeHero" data-v-663e4ddb data-v-60955028><div class="container" data-v-60955028><div class="main" data-v-60955028><!--[--><h1 class="name" data-v-60955028><span class="clip" data-v-60955028>WhirlScript</span></h1><p class="text" data-v-60955028>Next generation
Language for script
</p><p class="tagline" data-v-60955028>Write readable and maintainable codes,
compiles to clean bat and sh scripts.
</p><!--]--><div class="actions" data-v-60955028><!--[--><div class="action" data-v-60955028><a class="VPButton medium brand" href="/guide/getting-started/getting-started" data-v-60955028 data-v-f089ac37>Get Started</a></div><div class="action" data-v-60955028><a class="VPButton medium alt" href="https://github.com/Bluemangoo/WhirlScript" target="_blank" rel="noreferrer" data-v-60955028 data-v-f089ac37>View on GitHub</a></div><!--]--></div></div><div class="image" data-v-60955028><div class="image-container" data-v-60955028><div class="image-bg" data-v-60955028></div><!--[--><!--[--><img class="VPImage image-src" src="/logo-large.svg" alt="WhirlScript" data-v-1a018b73><!--]--><!--]--></div></div></div></div><!--[--><!--]--><!--[--><!--]--><div class="VPFeatures VPHomeFeatures" data-v-663e4ddb data-v-2672af84><div class="container" data-v-2672af84><div class="items" data-v-2672af84><!--[--><div class="grid-4 item" data-v-2672af84><div class="VPLink no-icon VPFeature" data-v-2672af84 data-v-0fd6670d><!--[--><article class="box" data-v-0fd6670d><div class="icon" data-v-0fd6670d>📝</div><h2 class="title" data-v-0fd6670d>Focus on Your Logic</h2><p class="details" data-v-0fd6670d>Less effort on struggling with native script syntax.</p><!----></article><!--]--></div></div><div class="grid-4 item" data-v-2672af84><div class="VPLink no-icon VPFeature" data-v-2672af84 data-v-0fd6670d><!--[--><article class="box" data-v-0fd6670d><div class="icon" data-v-0fd6670d><span style="color:#908B25">#</span></div><h2 class="title" data-v-0fd6670d>Precompile</h2><p class="details" data-v-0fd6670d>Write macro to process your logic on compiling.</p><!----></article><!--]--></div></div><div class="grid-4 item" data-v-2672af84><div class="VPLink no-icon VPFeature" data-v-2672af84 data-v-0fd6670d><!--[--><article class="box" data-v-0fd6670d><div class="icon" data-v-0fd6670d><svg xmlns="http://www.w3.org/2000/svg" viewBox="0.00 0.00 200.00 200.00"><path fill="#303c42" d="M 100.71 103.13 Q 99.01 90.60 93.26 79.65 Q 92.99 79.14 92.49 79.42 Q 87.95 81.99 83.50 83.17 C 81.13 83.79 78.16 81.79 76.28 80.44 Q 75.77 80.08 75.53 80.65 Q 73.30 85.75 70.63 90.65 Q 67.73 95.96 64.34 108.28 Q 64.20 108.82 64.58 109.22 C 67.10 111.81 68.40 115.38 70.15 118.48 C 71.78 121.36 74.69 122.47 76.46 125.38 Q 76.74 125.84 77.27 125.94 L 79.30 126.33 L 74.73 131.13 C 74.10 127.81 72.70 125.81 70.18 123.96 C 66.84 121.52 64.71 116.24 62.85 112.51 A 0.64 0.64 0.0 0 0 61.65 112.66 C 61.21 114.62 60.78 117.05 58.52 117.71 Q 56.30 118.36 53.67 118.84 A 0.76 0.76 0.0 0 0 53.07 119.78 Q 54.16 123.79 53.30 127.66 Q 53.10 128.55 53.98 128.78 Q 57.26 129.63 60.27 129.75 Q 62.58 129.84 65.65 131.10 Q 68.99 132.47 72.38 133.70 L 70.12 136.21 Q 69.77 136.60 69.27 136.43 C 66.20 135.36 63.26 133.42 59.94 133.32 C 57.06 133.23 48.18 132.29 49.54 127.50 Q 50.40 124.51 49.63 121.24 C 48.34 115.70 52.97 115.35 56.82 114.49 Q 57.56 114.33 57.66 113.58 Q 58.01 110.67 60.00 109.15 Q 60.56 108.72 60.72 108.03 Q 62.94 98.30 66.89 90.19 Q 69.38 85.09 71.60 80.43 C 73.92 75.55 73.27 70.36 73.77 65.21 C 74.42 58.51 76.70 51.90 84.35 51.22 C 99.01 49.93 101.41 64.31 101.00 75.25 Q 100.88 78.55 103.21 81.42 Q 107.09 86.18 110.85 91.26 A 0.72 0.72 0.0 0 1 110.80 92.16 L 100.71 103.13 Z"/><path fill="#ffffff" d="M 81.13 66.54 A 1.73 1.73 0.0 0 0 78.08 66.43 Q 76.96 68.36 77.99 70.37 Q 78.00 70.39 77.98 70.40 L 77.74 70.52 Q 77.54 70.63 77.42 70.42 Q 75.34 66.55 77.80 63.35 A 2.20 2.19 38.8 0 1 80.97 63.01 Q 83.59 65.23 82.27 69.15 Q 81.94 70.14 81.84 69.10 Q 81.69 67.70 81.13 66.54 Z"/><path fill="#ffffff" d="M 91.14 66.11 A 1.61 1.61 0.0 0 0 88.56 66.33 Q 87.78 67.62 87.87 69.11 Q 87.89 69.33 87.76 69.52 Q 87.60 69.74 87.45 69.68 Q 87.35 69.64 87.31 69.53 Q 85.82 65.33 88.84 62.80 A 1.20 1.17 -66.6 0 1 89.50 62.53 Q 91.46 62.38 92.30 64.09 Q 94.09 67.70 91.90 70.60 Q 91.21 71.51 91.62 70.44 Q 92.62 67.81 91.14 66.11 Z"/><path fill="#0077d4" d="M 112.78 102.65 C 123.91 90.65 135.04 78.41 146.31 66.39 A 2.31 2.31 0.0 0 1 149.08 65.93 C 150.83 66.86 150.55 67.79 150.55 69.81 Q 150.56 85.04 150.55 102.41 A 2.10 2.10 0.0 0 1 148.45 104.50 L 114.33 104.50 A 2.34 2.34 0.0 0 1 113.48 104.34 Q 111.81 103.70 112.78 102.65 Z"/><path fill="#f68919" d="M 91.08 75.26 Q 91.98 75.86 90.99 76.30 L 83.30 79.78 Q 82.57 80.12 81.89 79.70 L 77.42 76.98 A 0.63 0.62 -51.8 0 1 77.31 76.00 Q 83.28 70.05 91.08 75.26 Z"/><path fill="#ffffff" d="M 100.71 103.13 L 79.30 126.33 L 77.27 125.94 Q 76.74 125.84 76.46 125.38 C 74.69 122.47 71.78 121.36 70.15 118.48 C 68.40 115.38 67.10 111.81 64.58 109.22 Q 64.20 108.82 64.34 108.28 Q 67.73 95.96 70.63 90.65 Q 73.30 85.75 75.53 80.65 Q 75.77 80.08 76.28 80.44 C 78.16 81.79 81.13 83.79 83.50 83.17 Q 87.95 81.99 92.49 79.42 Q 92.99 79.14 93.26 79.65 Q 99.01 90.60 100.71 103.13 Z"/><rect fill="#0077d4" x="111.88" y="109.19" width="38.68" height="38.68" rx="2.18"/><path fill="#0077d4" d="M 107.08 110.33 Q 107.47 128.28 107.22 145.75 A 2.16 2.15 0.4 0 1 105.06 147.87 L 71.49 147.88 A 0.20 0.20 0.0 0 1 71.34 147.55 Q 88.71 128.71 105.98 110.07 Q 106.16 109.87 106.43 109.82 Q 107.07 109.69 107.08 110.33 Z"/><path fill="#f68919" d="M 74.73 131.13 L 72.38 133.70 Q 68.99 132.47 65.65 131.10 Q 62.58 129.84 60.27 129.75 Q 57.26 129.63 53.98 128.78 Q 53.10 128.55 53.30 127.66 Q 54.16 123.79 53.07 119.78 A 0.76 0.76 0.0 0 1 53.67 118.84 Q 56.30 118.36 58.52 117.71 C 60.78 117.05 61.21 114.62 61.65 112.66 A 0.64 0.64 0.0 0 1 62.85 112.51 C 64.71 116.24 66.84 121.52 70.18 123.96 C 72.70 125.81 74.10 127.81 74.73 131.13 Z"/></svg>
</div><h2 class="title" data-v-0fd6670d>Cross Compiling</h2><p class="details" data-v-0fd6670d>Write one code, compiles to all platform's script.</p><!----></article><!--]--></div></div><div class="grid-4 item" data-v-2672af84><div class="VPLink no-icon VPFeature" data-v-2672af84 data-v-0fd6670d><!--[--><article class="box" data-v-0fd6670d><div class="icon" data-v-0fd6670d>📦</div><h2 class="title" data-v-0fd6670d>Work with Package Manager</h2><p class="details" data-v-0fd6670d>Work together with Whirlpkg packages. It's easy to find and get wheels.</p><!----></article><!--]--></div></div><!--]--></div></div></div><!--[--><!--]--><div style="position:relative;" data-v-663e4ddb><div></div></div></div></div><footer class="VPFooter" data-v-8299ef9c data-v-57543d24><div class="container" data-v-57543d24><p class="message" data-v-57543d24>Released under the MIT License.</p><p class="copyright" data-v-57543d24>Copyright © 2024-present Bluemangoo</p></div></footer><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"guide_getting-started_getting-started_index.md\":\"MeLZmVt0\",\"zh_guide_getting-started_grammar-and-types_index.md\":\"0IwG5bSe\",\"index.md\":\"gdqGbKBo\",\"zh_guide_getting-started_hello-whirlpkg_index.md\":\"V5GuN66O\",\"guide_getting-started_control-flow_index.md\":\"HRgAAf6l\",\"guide_getting-started_hello-whirlpkg_index.md\":\"yi-mQshA\",\"guide_getting-started_namespace_index.md\":\"O8mRodb2\",\"zh_guide_getting-started_annotation_index.md\":\"p-O09urJ\",\"guide_introduction_what-is-whirlscript_index.md\":\"xmPeCYC2\",\"guide_getting-started_hello-world_index.md\":\"ExzckAZf\",\"zh_guide_getting-started_control-flow_index.md\":\"Sgx4m3AM\",\"guide_getting-started_annotation_index.md\":\"igN7ogzV\",\"guide_getting-started_function_index.md\":\"jwTZKvwd\",\"guide_getting-started_target-specify_index.md\":\"_3dzF1CT\",\"guide_getting-started_grammar-and-types_index.md\":\"1PojfB0N\",\"zh_guide_getting-started_struct_index.md\":\"u0K5bR8f\",\"zh_guide_getting-started_modules_index.md\":\"CNorOYZq\",\"zh_guide_getting-started_target-specify_index.md\":\"aWjGGJTR\",\"zh_guide_getting-started_namespace_index.md\":\"cA9jnc4i\",\"zh_guide_getting-started_template-string_index.md\":\"dp9JyA_k\",\"zh_guide_introduction_what-is-whirlscript_index.md\":\"qHxvKaaD\",\"zh_index.md\":\"MdklH8I5\",\"zh_guide_getting-started_hello-world_index.md\":\"POtVf4eF\",\"zh_reference_std_print_index.md\":\"a45OeDPL\",\"guide_getting-started_template-string_index.md\":\"IgfjVdh6\",\"guide_getting-started_expressions-and-operators_index.md\":\"Wr2k5gIW\",\"zh_guide_getting-started_function_index.md\":\"kUE-jvGG\",\"zh_guide_getting-started_expressions-and-operators_index.md\":\"UySFy9fy\",\"guide_getting-started_modules_index.md\":\"l4rCBO1h\",\"zh_guide_getting-started_execute_index.md\":\"Xhu1CqY7\",\"guide_getting-started_struct_index.md\":\"ciLN7Laq\",\"zh_guide_getting-started_getting-started_index.md\":\"ohWzd2PI\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"logo\":{\"src\":\"/logo-large.svg\",\"width\":24,\"height\":24},\"search\":{\"provider\":\"local\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/WhirlScript\"}],\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2024-present Bluemangoo\"}},\"locales\":{\"root\":{\"label\":\"English\",\"lang\":\"en\",\"title\":\"WhirlsScript\",\"titleTemplate\":\"WhirlScript Docs\",\"description\":\"A next generation script language\",\"themeConfig\":{\"editLink\":{\"pattern\":\"https://github.com/WhirlScript/docs/edit/master/:path\",\"text\":\"Edit this page on GitHub\"},\"nav\":[{\"text\":\"Guide\",\"link\":\"/guide/introduction/what-is-whirlscript\",\"activeMatch\":\"/guide/\"},{\"text\":\"Mirrors\",\"items\":[{\"text\":\"GitHub Pages\",\"link\":\"https://whirlscript.github.io\"},{\"text\":\"Vercel\",\"link\":\"https://whirlscript.vercel.app\"},{\"text\":\"Cloudflare Pages\",\"link\":\"https://whirlscript.pages.dev\"},{\"text\":\"Zeabur (Beta)\",\"link\":\"https://whirlscript.zeabur.app\"}]}],\"sidebar\":{\"/guide/\":{\"base\":\"\",\"items\":[{\"text\":\"Introduction\",\"collapsed\":false,\"items\":[{\"text\":\"What is WhirlScript?\",\"link\":\"/guide/introduction/what-is-whirlscript\"}]},{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Getting Started\",\"link\":\"/guide/getting-started/getting-started\"},{\"text\":\"Hello World!\",\"link\":\"/guide/getting-started/hello-world\"},{\"text\":\"Hello Whirlpkg!\",\"link\":\"/guide/getting-started/hello-whirlpkg\"},{\"text\":\"Grammar and Data Types\",\"link\":\"/guide/getting-started/grammar-and-types\"},{\"text\":\"Control Flow\",\"link\":\"/guide/getting-started/control-flow\"},{\"text\":\"Function\",\"link\":\"/guide/getting-started/function\"},{\"text\":\"Expressions and Operators\",\"link\":\"/guide/getting-started/expressions-and-operators\"},{\"text\":\"Template String\",\"link\":\"/guide/getting-started/template-string\"},{\"text\":\"Struct\",\"link\":\"/guide/getting-started/struct\"},{\"text\":\"Namespace\",\"link\":\"/guide/getting-started/namespace\"},{\"text\":\"Target Specification\",\"link\":\"/guide/getting-started/target-specify\"},{\"text\":\"Annotation\",\"link\":\"/guide/getting-started/annotation\"},{\"text\":\"Modules\",\"link\":\"/guide/getting-started/modules\"}]}]}}},\"head\":[[\"meta\",{\"name\":\"og:locale\",\"content\":\"en\"}]]},\"zh\":{\"label\":\"简体中文\",\"lang\":\"zh\",\"link\":\"/zh/\",\"title\":\"WhirlsScript\",\"titleTemplate\":\"WhirlScript 文档\",\"description\":\"下一代脚本语言\",\"themeConfig\":{\"editLink\":{\"pattern\":\"https://github.com/WhirlScript/docs/edit/master/:path\",\"text\":\"在 GitHub 上编辑此页\"},\"nav\":[{\"text\":\"入门指南\",\"link\":\"/zh/guide/introduction/what-is-whirlscript\",\"activeMatch\":\"/zh/guide/\"},{\"text\":\"镜像\",\"items\":[{\"text\":\"GitHub Pages\",\"link\":\"https://whirlscript.github.io\"},{\"text\":\"Vercel\",\"link\":\"https://whirlscript.vercel.app\"},{\"text\":\"Cloudflare Pages\",\"link\":\"https://whirlscript.pages.dev\"},{\"text\":\"Zeabur (Beta)\",\"link\":\"https://whirlscript.zeabur.app\"}]}],\"sidebar\":{\"/zh/guide/\":{\"base\":\"/zh/\",\"items\":[{\"text\":\"介绍\",\"collapsed\":false,\"items\":[{\"text\":\"什么是 WhirlScript?\",\"link\":\"/guide/introduction/what-is-whirlscript\"}]},{\"text\":\"立即开始\",\"collapsed\":false,\"items\":[{\"text\":\"立即开始\",\"link\":\"/guide/getting-started/getting-started\"},{\"text\":\"Hello World!\",\"link\":\"/guide/getting-started/hello-world\"},{\"text\":\"Hello Whirlpkg!\",\"link\":\"/guide/getting-started/hello-whirlpkg\"},{\"text\":\"语法和类型\",\"link\":\"/guide/getting-started/grammar-and-types\"},{\"text\":\"流程控制\",\"link\":\"/guide/getting-started/control-flow\"},{\"text\":\"函数\",\"link\":\"/guide/getting-started/function\"},{\"text\":\"表达式与运算符\",\"link\":\"/guide/getting-started/expressions-and-operators\"},{\"text\":\"模板字符串\",\"link\":\"/guide/getting-started/template-string\"},{\"text\":\"结构体\",\"link\":\"/guide/getting-started/struct\"},{\"text\":\"命名空间\",\"link\":\"/guide/getting-started/namespace\"},{\"text\":\"目标限定\",\"link\":\"/guide/getting-started/target-specify\"},{\"text\":\"注解\",\"link\":\"/guide/getting-started/annotation\"},{\"text\":\"模块\",\"link\":\"/guide/getting-started/modules\"},{\"text\":\"运行命令\",\"link\":\"/guide/getting-started/execute\"}]},{\"text\":\"参考\",\"collapsed\":true,\"items\":[{\"text\":\"标准库\",\"collapsed\":true,\"items\":[{\"text\":\"print()\",\"link\":\"/reference/std/print\"}]}]}]},\"/zh/reference/std/\":{\"base\":\"/zh/\",\"items\":[{\"text\":\"介绍\",\"collapsed\":true,\"items\":[{\"text\":\"什么是 WhirlScript?\",\"link\":\"/guide/introduction/what-is-whirlscript\"}]},{\"text\":\"立即开始\",\"collapsed\":true,\"items\":[{\"text\":\"立即开始\",\"link\":\"/guide/getting-started/getting-started\"},{\"text\":\"Hello World!\",\"link\":\"/guide/getting-started/hello-world\"},{\"text\":\"Hello Whirlpkg!\",\"link\":\"/guide/getting-started/hello-whirlpkg\"},{\"text\":\"语法和类型\",\"link\":\"/guide/getting-started/grammar-and-types\"},{\"text\":\"流程控制\",\"link\":\"/guide/getting-started/control-flow\"},{\"text\":\"函数\",\"link\":\"/guide/getting-started/function\"},{\"text\":\"表达式与运算符\",\"link\":\"/guide/getting-started/expressions-and-operators\"},{\"text\":\"模板字符串\",\"link\":\"/guide/getting-started/template-string\"},{\"text\":\"结构体\",\"link\":\"/guide/getting-started/struct\"},{\"text\":\"命名空间\",\"link\":\"/guide/getting-started/namespace\"},{\"text\":\"目标限定\",\"link\":\"/guide/getting-started/target-specify\"},{\"text\":\"注解\",\"link\":\"/guide/getting-started/annotation\"},{\"text\":\"模块\",\"link\":\"/guide/getting-started/modules\"},{\"text\":\"运行命令\",\"link\":\"/guide/getting-started/execute\"}]},{\"text\":\"参考\",\"collapsed\":false,\"items\":[{\"text\":\"标准库\",\"collapsed\":false,\"items\":[{\"text\":\"print()\",\"link\":\"/reference/std/print\"}]}]}]}}},\"head\":[[\"meta\",{\"name\":\"og:locale\",\"content\":\"zh\"}]]}},\"scrollOffset\":90,\"cleanUrls\":true}");</script>
</body>
</html>