1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2025-02-16 15:53:58 +00:00

Update website

This commit is contained in:
Steffo 2020-04-22 19:02:48 +02:00
parent 972e677c72
commit 7a798e5b55
24 changed files with 509 additions and 39 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.e26ae.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"bundle.6b8a3.esm.js","sourceRoot":""}

2
docs/index.html generated
View file

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Appunti Web</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="apple-touch-icon" href="./assets/icons/apple-touch-icon.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#a0ccff"><link rel="shortcut icon" href="/favicon.ico"><style>*{box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:sans-serif}</style><link href="/bundle.69171.css" rel="preload" as="style"></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.e26ae.esm.js" type="module"></script><script nomodule="" src="/polyfills.b96b2.js"></script><script nomodule="" defer="defer" src="/bundle.bf05e.js"></script><link rel="stylesheet" href="/bundle.69171.css"></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Appunti Web</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><link rel="apple-touch-icon" href="./assets/icons/apple-touch-icon.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#a0ccff"><link rel="shortcut icon" href="/favicon.ico"><style>*{box-sizing:border-box}body{background-color:#0d193b;color:#a0ccff;font-family:sans-serif}</style><link href="/bundle.69171.css" rel="preload" as="style"></head><body><script type="__PREACT_CLI_DATA__">{"preRenderData":{"url":"/"}}</script><script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script crossorigin="anonymous" src="/bundle.6b8a3.esm.js" type="module"></script><script nomodule="" src="/polyfills.b96b2.js"></script><script nomodule="" defer="defer" src="/bundle.109db.js"></script><link rel="stylesheet" href="/bundle.69171.css"></body></html>

View file

@ -4,15 +4,15 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/assets/icon.png"
},
{
"revision": "bf05eb6ecfec0cdf288b",
"revision": "109dba3110c03847e5e8",
"url": "/bundle.69171.css"
},
{
"revision": "bf05eb6ecfec0cdf288b",
"url": "/bundle.e26ae.esm.js"
"revision": "109dba3110c03847e5e8",
"url": "/bundle.6b8a3.esm.js"
},
{
"revision": "59a2671a485ac148dd240db6813e1d4b",
"revision": "826355f5c78fb720ccc19bd121683d0e",
"url": "/index.html"
},
{
@ -20,11 +20,11 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/polyfills.7484f.esm.js"
},
{
"revision": "1258f97b122458d4ffd4",
"url": "/route-apprendimentoSistemiArtificiali.chunk.201bc.esm.js"
"revision": "e631fd3afad72ccaee88",
"url": "/route-apprendimentoSistemiArtificiali.chunk.bcba4.esm.js"
},
{
"revision": "1258f97b122458d4ffd4",
"revision": "e631fd3afad72ccaee88",
"url": "/route-apprendimentoSistemiArtificiali.chunk.c2edb.css"
},
{

View file

@ -4,15 +4,15 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/assets/icon.png"
},
{
"revision": "bf05eb6ecfec0cdf288b",
"revision": "109dba3110c03847e5e8",
"url": "/bundle.109db.js"
},
{
"revision": "109dba3110c03847e5e8",
"url": "/bundle.69171.css"
},
{
"revision": "bf05eb6ecfec0cdf288b",
"url": "/bundle.bf05e.js"
},
{
"revision": "59a2671a485ac148dd240db6813e1d4b",
"revision": "826355f5c78fb720ccc19bd121683d0e",
"url": "/index.html"
},
{
@ -20,12 +20,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/polyfills.b96b2.js"
},
{
"revision": "1258f97b122458d4ffd4",
"url": "/route-apprendimentoSistemiArtificiali.chunk.1258f.js"
"revision": "e631fd3afad72ccaee88",
"url": "/route-apprendimentoSistemiArtificiali.chunk.c2edb.css"
},
{
"revision": "1258f97b122458d4ffd4",
"url": "/route-apprendimentoSistemiArtificiali.chunk.c2edb.css"
"revision": "e631fd3afad72ccaee88",
"url": "/route-apprendimentoSistemiArtificiali.chunk.e631f.js"
},
{
"revision": "8a7fd8b1870d5d86b49f",
@ -96,7 +96,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/sw-debug.js"
},
{
"revision": "67f67d2a9febe57095d6ce67357ff3be",
"revision": "1f9db8e78d97e7e4e84783ab54aec767",
"url": "/sw-esm.js"
},
{

View file

@ -1 +1 @@
{"/":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-home.chunk.86a07.esm.js":{"type":"script","weight":0.9},"route-home.chunk.deccf.css":{"type":"style","weight":0.9}},"/apprendimentoSistemiArtificiali":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-apprendimentoSistemiArtificiali.chunk.201bc.esm.js":{"type":"script","weight":0.9},"route-apprendimentoSistemiArtificiali.chunk.c2edb.css":{"type":"style","weight":0.9}},"/basiDiDati":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-basiDiDati.chunk.fad1f.esm.js":{"type":"script","weight":0.9},"route-basiDiDati.chunk.9cc26.css":{"type":"style","weight":0.9}},"/calcoloNumerico":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-calcoloNumerico.chunk.9d1fa.esm.js":{"type":"script","weight":0.9},"route-calcoloNumerico.chunk.9cc26.css":{"type":"style","weight":0.9}},"/fisica":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-fisica.chunk.4ed8c.esm.js":{"type":"script","weight":0.9},"route-fisica.chunk.0b01a.css":{"type":"style","weight":0.9}},"/mingwinstall":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-mingwinstall.chunk.ea3ae.esm.js":{"type":"script","weight":0.9},"route-mingwinstall.chunk.4f81b.css":{"type":"style","weight":0.9}},"/ottimizzazioneLineare":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-ottimizzazioneLineare.chunk.050ec.esm.js":{"type":"script","weight":0.9},"route-ottimizzazioneLineare.chunk.ab1d9.css":{"type":"style","weight":0.9}},"/statistica":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-statistica.chunk.26925.esm.js":{"type":"script","weight":0.9},"route-statistica.chunk.025c9.css":{"type":"style","weight":0.9}},"/vldigeometria":{"bundle.69171.css":{"type":"style","weight":1},"bundle.e26ae.esm.js":{"type":"script","weight":1},"route-vldigeometria.chunk.24244.esm.js":{"type":"script","weight":0.9},"route-vldigeometria.chunk.e54c2.css":{"type":"style","weight":0.9}}}
{"/":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-home.chunk.86a07.esm.js":{"type":"script","weight":0.9},"route-home.chunk.deccf.css":{"type":"style","weight":0.9}},"/apprendimentoSistemiArtificiali":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-apprendimentoSistemiArtificiali.chunk.bcba4.esm.js":{"type":"script","weight":0.9},"route-apprendimentoSistemiArtificiali.chunk.c2edb.css":{"type":"style","weight":0.9}},"/basiDiDati":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-basiDiDati.chunk.fad1f.esm.js":{"type":"script","weight":0.9},"route-basiDiDati.chunk.9cc26.css":{"type":"style","weight":0.9}},"/calcoloNumerico":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-calcoloNumerico.chunk.9d1fa.esm.js":{"type":"script","weight":0.9},"route-calcoloNumerico.chunk.9cc26.css":{"type":"style","weight":0.9}},"/fisica":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-fisica.chunk.4ed8c.esm.js":{"type":"script","weight":0.9},"route-fisica.chunk.0b01a.css":{"type":"style","weight":0.9}},"/mingwinstall":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-mingwinstall.chunk.ea3ae.esm.js":{"type":"script","weight":0.9},"route-mingwinstall.chunk.4f81b.css":{"type":"style","weight":0.9}},"/ottimizzazioneLineare":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-ottimizzazioneLineare.chunk.050ec.esm.js":{"type":"script","weight":0.9},"route-ottimizzazioneLineare.chunk.ab1d9.css":{"type":"style","weight":0.9}},"/statistica":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-statistica.chunk.26925.esm.js":{"type":"script","weight":0.9},"route-statistica.chunk.025c9.css":{"type":"style","weight":0.9}},"/vldigeometria":{"bundle.69171.css":{"type":"style","weight":1},"bundle.6b8a3.esm.js":{"type":"script","weight":1},"route-vldigeometria.chunk.24244.esm.js":{"type":"script","weight":0.9},"route-vldigeometria.chunk.e54c2.css":{"type":"style","weight":0.9}}}

View file

@ -1,2 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+AyP":function(t){t.exports={latex:"latex__3Esv7"}},"1nLj":function(t){t.exports={panel:"panel__1ubJw"}},"68UE":function(t){t.exports={example:"example__P0_NL"}},"7bXG":function(t,o,r){"use strict";(function(t){r.d(o,"a",(function(){return p}));var n=r("kpQM"),e=r.n(n),p=function(o){function r(){return o.apply(this,arguments)||this}var n,p;return p=o,(n=r).prototype=Object.create(p.prototype),n.prototype.constructor=n,n.__proto__=p,r.prototype.render=function(){return t("span",{class:e.a.todo},this.props.children)},r}(r("hosL").Component)}).call(this,r("hosL").h)},"9yVG":function(t,o,r){"use strict";(function(t){r.d(o,"a",(function(){return p}));var n=r("1nLj"),e=r.n(n),p=function(o){function r(){return o.apply(this,arguments)||this}var n,p;p=o,(n=r).prototype=Object.create(p.prototype),n.prototype.constructor=n,n.__proto__=p;var i=r.prototype;return i.getStyle=function(){return e.a.panel},i.render=function(){var o=null;return void 0!==this.props.title&&(o=t("h3",null,this.props.title)),t("div",{class:this.getStyle(),id:this.props.id},o,this.props.children)},r}(r("hosL").Component)}).call(this,r("hosL").h)},PEwj:function(t,o,r){"use strict";(function(t){r.d(o,"a",(function(){return p}));var n=r("68UE"),e=r.n(n),p=function(o){function r(){return o.apply(this,arguments)||this}var n,p;return p=o,(n=r).prototype=Object.create(p.prototype),n.prototype.constructor=n,n.__proto__=p,r.prototype.render=function(){return t("blockquote",{class:e.a.example},this.props.children)},r}(r("hosL").Component)}).call(this,r("hosL").h)},UlOE:function(t,o,r){"use strict";r.r(o),function(t){r.d(o,"default",(function(){return p}));var n=r("hosL"),e=r("ddBW"),p=(r("ZsnK"),r("9yVG"),r("PEwj"),r("7bXG"),function(o){function r(){return o.apply(this,arguments)||this}var n,p;return p=o,(n=r).prototype=Object.create(p.prototype),n.prototype.constructor=n,n.__proto__=p,r.prototype.render=function(){return t("div",null,t("h1",null,"Apprendimento ed evoluzione in sistemi artificiali"),t(e.a,null))},r}(n.Component))}.call(this,r("hosL").h)},ZsnK:function(t,o,r){"use strict";(function(t){r.d(o,"a",(function(){return p}));var n=r("+AyP"),e=r.n(n),p=function(o){function r(){return o.apply(this,arguments)||this}var n,p;return p=o,(n=r).prototype=Object.create(p.prototype),n.prototype.constructor=n,n.__proto__=p,r.prototype.render=function(){return t("img",{src:"https://latex.codecogs.com/svg.latex?"+("{\\color{White} "+this.props.children+" }"),alt:this.props.children,title:this.props.children,class:e.a.latex})},r}(r("hosL").Component)}).call(this,r("hosL").h)},ddBW:function(t,o,r){"use strict";(function(t){r.d(o,"a",(function(){return p}));var n=r("rMrT"),e=r.n(n),p=function(o){function r(){return o.apply(this,arguments)||this}var n,p;return p=o,(n=r).prototype=Object.create(p.prototype),n.prototype.constructor=n,n.__proto__=p,r.prototype.render=function(){var o,r=null;return void 0!==this.props.title&&(r=t("h2",null,this.props.title)),o=Array.isArray(this.props.children)?this.props.children.map((function(o){return t("div",{class:e.a.splitchild},o)})):t("div",{class:e.a.splitchild},this.props.children),t("div",{class:e.a.split},r,t("div",{class:e.a.splitparent},o))},r}(r("hosL").Component)}).call(this,r("hosL").h)},kpQM:function(t){t.exports={todo:"todo__1pOoN"}},rMrT:function(t){t.exports={split:"split__3qCWp",splitparent:"splitparent__2xagg",splitchild:"splitchild__3cEoc"}}}]);
//# sourceMappingURL=route-apprendimentoSistemiArtificiali.chunk.1258f.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+AyP":function(t){t.exports={latex:"latex__3Esv7"}},"1nLj":function(t){t.exports={panel:"panel__1ubJw"}},"68UE":function(t){t.exports={example:"example__P0_NL"}},"7bXG":function(t,n,s){"use strict";(function(t){s.d(n,"a",(function(){return l}));var e=s("kpQM"),i=s.n(e),r=s("hosL");class l extends r.Component{render(){return t("span",{class:i.a.todo},this.props.children)}}}).call(this,s("hosL").h)},"9yVG":function(t,n,s){"use strict";(function(t){s.d(n,"a",(function(){return l}));var e=s("1nLj"),i=s.n(e),r=s("hosL");class l extends r.Component{getStyle(){return i.a.panel}render(){let n=null;return void 0!==this.props.title&&(n=t("h3",null,this.props.title)),t("div",{class:this.getStyle(),id:this.props.id},n,this.props.children)}}}).call(this,s("hosL").h)},PEwj:function(t,n,s){"use strict";(function(t){s.d(n,"a",(function(){return l}));var e=s("68UE"),i=s.n(e),r=s("hosL");class l extends r.Component{render(){return t("blockquote",{class:i.a.example},this.props.children)}}}).call(this,s("hosL").h)},UlOE:function(t,n,s){"use strict";s.r(n),function(t){s.d(n,"default",(function(){return r}));var e=s("hosL"),i=s("ddBW");s("ZsnK"),s("9yVG"),s("PEwj"),s("7bXG");class r extends e.Component{render(){return t("div",null,t("h1",null,"Apprendimento ed evoluzione in sistemi artificiali"),t(i.a,null))}}}.call(this,s("hosL").h)},ZsnK:function(t,n,s){"use strict";(function(t){s.d(n,"a",(function(){return l}));var e=s("+AyP"),i=s.n(e),r=s("hosL");class l extends r.Component{render(){return t("img",{src:`https://latex.codecogs.com/svg.latex?${`{\\color{White} ${this.props.children} }`}`,alt:this.props.children,title:this.props.children,class:i.a.latex})}}}).call(this,s("hosL").h)},ddBW:function(t,n,s){"use strict";(function(t){s.d(n,"a",(function(){return l}));var e=s("rMrT"),i=s.n(e),r=s("hosL");class l extends r.Component{render(){let n,s=null;return void 0!==this.props.title&&(s=t("h2",null,this.props.title)),n=Array.isArray(this.props.children)?this.props.children.map(n=>t("div",{class:i.a.splitchild},n)):t("div",{class:i.a.splitchild},this.props.children),t("div",{class:i.a.split},s,t("div",{class:i.a.splitparent},n))}}}).call(this,s("hosL").h)},kpQM:function(t){t.exports={todo:"todo__1pOoN"}},rMrT:function(t){t.exports={split:"split__3qCWp",splitparent:"splitparent__2xagg",splitchild:"splitchild__3cEoc"}}}]);
//# sourceMappingURL=route-apprendimentoSistemiArtificiali.chunk.201bc.esm.js.map

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-apprendimentoSistemiArtificiali.chunk.201bc.esm.js","sourceRoot":""}
{"version":3,"sources":[],"names":[],"mappings":"","file":"route-apprendimentoSistemiArtificiali.chunk.bcba4.esm.js","sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
docs/sw-esm.js generated
View file

@ -1,4 +1,4 @@
importScripts("/precache-manifest.a58e8e938a40c87d074864d2947a4cf8.esm.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts("/precache-manifest.712081d862b6875737d79df2320f3230.esm.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(t){return e[t]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="idKB")}({idKB:function(){self.__precacheManifest=[].concat(self.__precacheManifest||[]);const e=e=>"navigate"===e.request.mode;workbox.routing.registerRoute(({event:t})=>e(t),new workbox.strategies.NetworkFirst({cacheName:workbox.core.cacheNames.precache,networkTimeoutSeconds:5,plugins:[new workbox.cacheableResponse.Plugin({statuses:[200]})]})),workbox.precaching.precacheAndRoute(self.__precacheManifest,{}),workbox.routing.setCatchHandler(({event:t})=>e(t)?caches.match(workbox.precaching.getCacheKeyForURL("/index.html")):Response.error())}});
//# sourceMappingURL=sw-esm.js.map

2
docs/sw.js generated
View file

@ -1,4 +1,4 @@
importScripts("/precache-manifest.2f12d2d0c8c151ff9a6e45e018b2bbc9.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts("/precache-manifest.812c022b607ffd6b3904af385980122b.js", "https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(t){return e[t]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="idKB")}({idKB:function(){self.__precacheManifest=[].concat(self.__precacheManifest||[]);const e=e=>"navigate"===e.request.mode;workbox.routing.registerRoute(({event:t})=>e(t),new workbox.strategies.NetworkFirst({cacheName:workbox.core.cacheNames.precache,networkTimeoutSeconds:5,plugins:[new workbox.cacheableResponse.Plugin({statuses:[200]})]})),workbox.precaching.precacheAndRoute(self.__precacheManifest,{}),workbox.routing.setCatchHandler(({event:t})=>e(t)?caches.match(workbox.precaching.getCacheKeyForURL("/index.html")):Response.error())}});
//# sourceMappingURL=sw.js.map

194
package-lock.json generated
View file

@ -2531,6 +2531,21 @@
}
}
},
"character-entities": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz",
"integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw=="
},
"character-entities-legacy": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz",
"integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA=="
},
"character-reference-invalid": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz",
"integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg=="
},
"check-types": {
"version": "8.0.3",
"resolved": "https://registry.npmjs.org/check-types/-/check-types-8.0.3.tgz",
@ -2653,6 +2668,17 @@
"integrity": "sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ==",
"dev": true
},
"clipboard": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.6.tgz",
"integrity": "sha512-g5zbiixBRk/wyKakSwCKd7vQXDjFnAMGHoEyBogG/bw9kTD9GvdAvaoRR1ALcEzt3pVKxZR0pViekPMIS0QyGg==",
"optional": true,
"requires": {
"good-listener": "^1.2.2",
"select": "^1.1.2",
"tiny-emitter": "^2.0.0"
}
},
"cliui": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
@ -2745,6 +2771,11 @@
"delayed-stream": "~1.0.0"
}
},
"comma-separated-tokens": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz",
"integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw=="
},
"commander": {
"version": "2.17.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
@ -3770,6 +3801,12 @@
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"delegate": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
"integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==",
"optional": true
},
"depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
@ -4551,6 +4588,14 @@
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
},
"fault": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz",
"integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==",
"requires": {
"format": "^0.2.0"
}
},
"faye-websocket": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz",
@ -4734,6 +4779,11 @@
"mime-types": "^2.1.12"
}
},
"format": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz",
"integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs="
},
"forwarded": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
@ -5511,6 +5561,15 @@
}
}
},
"good-listener": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
"integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
"optional": true,
"requires": {
"delegate": "^3.1.2"
}
},
"got": {
"version": "9.6.0",
"resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
@ -5660,6 +5719,22 @@
"minimalistic-assert": "^1.0.1"
}
},
"hast-util-parse-selector": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.4.tgz",
"integrity": "sha512-gW3sxfynIvZApL4L07wryYF4+C9VvH3AUi7LAnVXV4MneGEgwOByXvFo18BgmTWnm7oHAe874jKbIB1YhHSIzA=="
},
"hastscript": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/hastscript/-/hastscript-5.1.2.tgz",
"integrity": "sha512-WlztFuK+Lrvi3EggsqOkQ52rKbxkXL3RwB6t5lwoa8QLMemoWfBuL43eDrwOamJyR7uKQKdmKYaBH1NZBiIRrQ==",
"requires": {
"comma-separated-tokens": "^1.0.0",
"hast-util-parse-selector": "^2.0.0",
"property-information": "^5.0.0",
"space-separated-tokens": "^1.0.0"
}
},
"he": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
@ -5672,6 +5747,11 @@
"integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==",
"dev": true
},
"highlight.js": {
"version": "9.15.10",
"resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.15.10.tgz",
"integrity": "sha512-RoV7OkQm0T3os3Dd2VHLNMoaoDVx77Wygln3n9l5YV172XonWG6rgQD3XnF/BuFFZw9A0TJgmMSO8FEWQgvcXw=="
},
"history": {
"version": "4.10.1",
"resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz",
@ -6161,6 +6241,20 @@
}
}
},
"is-alphabetical": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz",
"integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg=="
},
"is-alphanumerical": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz",
"integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==",
"requires": {
"is-alphabetical": "^1.0.0",
"is-decimal": "^1.0.0"
}
},
"is-arguments": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz",
@ -6243,6 +6337,11 @@
"integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==",
"dev": true
},
"is-decimal": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz",
"integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw=="
},
"is-descriptor": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",
@ -6294,6 +6393,11 @@
"is-extglob": "^2.1.1"
}
},
"is-hexadecimal": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz",
"integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw=="
},
"is-installed-globally": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.1.tgz",
@ -6882,6 +6986,15 @@
"integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
"dev": true
},
"lowlight": {
"version": "1.12.1",
"resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.12.1.tgz",
"integrity": "sha512-OqaVxMGIESnawn+TU/QMV5BJLbUghUfjDWPAtFqDYDmDtr4FnB+op8xM+pR7nKlauHNUHXGt0VgWatFB8voS5w==",
"requires": {
"fault": "^1.0.2",
"highlight.js": "~9.15.0"
}
},
"lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
@ -7965,6 +8078,19 @@
"safe-buffer": "^5.1.1"
}
},
"parse-entities": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.2.tgz",
"integrity": "sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg==",
"requires": {
"character-entities": "^1.0.0",
"character-entities-legacy": "^1.0.0",
"character-reference-invalid": "^1.0.0",
"is-alphanumerical": "^1.0.0",
"is-decimal": "^1.0.0",
"is-hexadecimal": "^1.0.0"
}
},
"parse-json": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz",
@ -8892,6 +9018,14 @@
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz",
"integrity": "sha1-v77VbV6ad2ZF9LH/eqGjrE+jw4U="
},
"prismjs": {
"version": "1.20.0",
"resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.20.0.tgz",
"integrity": "sha512-AEDjSrVNkynnw6A+B1DsFkd6AVdTnp+/WoUixFRULlCLZVRZlVQMVWio/16jv7G1FscUxQxOQhWwApgbnxr6kQ==",
"requires": {
"clipboard": "^2.0.0"
}
},
"private": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
@ -9020,6 +9154,14 @@
"react-is": "^16.8.1"
}
},
"property-information": {
"version": "5.4.0",
"resolved": "https://registry.npmjs.org/property-information/-/property-information-5.4.0.tgz",
"integrity": "sha512-nmMWAm/3vKFGmmOWOcdLjgq/Hlxa+hsuR/px1Lp/UGEyc5A22A6l78Shc2C0E71sPmAqglni+HrS7L7VJ7AUCA==",
"requires": {
"xtend": "^4.0.0"
}
},
"proxy-addr": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
@ -9250,6 +9392,18 @@
"integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==",
"dev": true
},
"react-syntax-highlighter": {
"version": "12.2.1",
"resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-12.2.1.tgz",
"integrity": "sha512-CTsp0ZWijwKRYFg9xhkWD4DSpQqE4vb2NKVMdPAkomnILSmsNBHE0n5GuI5zB+PU3ySVvXvdt9jo+ViD9XibCA==",
"requires": {
"@babel/runtime": "^7.3.1",
"highlight.js": "~9.15.1",
"lowlight": "1.12.1",
"prismjs": "^1.8.4",
"refractor": "^2.4.1"
}
},
"readable-stream": {
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
@ -9284,6 +9438,26 @@
"readable-stream": "^2.0.2"
}
},
"refractor": {
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/refractor/-/refractor-2.10.1.tgz",
"integrity": "sha512-Xh9o7hQiQlDbxo5/XkOX6H+x/q8rmlmZKr97Ie1Q8ZM32IRRd3B/UxuA/yXDW79DBSXGWxm2yRTbcTVmAciJRw==",
"requires": {
"hastscript": "^5.0.0",
"parse-entities": "^1.1.2",
"prismjs": "~1.17.0"
},
"dependencies": {
"prismjs": {
"version": "1.17.1",
"resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.17.1.tgz",
"integrity": "sha512-PrEDJAFdUGbOP6xK/UsfkC5ghJsPJviKgnQOoxaDbBjwc8op68Quupwt1DeAFoG8GImPhiKXAvvsH7wDSLsu1Q==",
"requires": {
"clipboard": "^2.0.0"
}
}
}
},
"regenerate": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
@ -9706,6 +9880,12 @@
"ajv-keywords": "^3.4.1"
}
},
"select": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
"integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=",
"optional": true
},
"select-hose": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
@ -10230,6 +10410,11 @@
"integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",
"dev": true
},
"space-separated-tokens": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz",
"integrity": "sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA=="
},
"spdy": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.1.tgz",
@ -10815,6 +11000,12 @@
"integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=",
"dev": true
},
"tiny-emitter": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==",
"optional": true
},
"tiny-invariant": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz",
@ -12240,8 +12431,7 @@
"xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
"integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
"dev": true
"integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
},
"y18n": {
"version": "4.0.0",

View file

@ -30,6 +30,7 @@
"preact": "^10.4.0",
"preact-render-to-string": "^5.1.6",
"preact-router": "^3.2.1",
"react-syntax-highlighter": "^12.2.1",
"showdown": "^1.9.1",
"style-loader": "^1.1.4"
}

File diff suppressed because one or more lines are too long

37
src/components/code.js Normal file
View file

@ -0,0 +1,37 @@
import {Component} from 'preact'
import SyntaxHighlighter from 'react-syntax-highlighter'
import {monokai} from "react-syntax-highlighter/dist/cjs/styles/hljs";
export default class Code extends Component {
render() {
let indent_regex = /^[ \t]+/;
let lines = this.props.children.split("\n").filter((line) => {
return line !== "";
});
let match = null;
for(let i = 0; i < lines.length; i++) {
match = indent_regex.exec(lines[i]);
if(match !== null) break;
}
let start;
if(match === null) {
start = 0;
}
else {
start = match[0].length;
}
let result = lines.map((line) => {
return line.substr(start);
});
return (
<SyntaxHighlighter language={this.props.language ? this.props.language : "plaintext"} style={monokai}>
{result.join("\n")}
</SyntaxHighlighter>
)
}
}

12
src/components/error.js Normal file
View file

@ -0,0 +1,12 @@
import { Component } from 'preact';
import style from './error.less';
export default class Error extends Component {
render() {
return (
<div class={style.errorcolor}>
{this.props.children}
</div>
);
}
}

View file

@ -0,0 +1,8 @@
@import "../styles/constants.less";
.errorcolor {
padding: 4px;
border-radius: 4px;
color: @red;
background-color: fade(@red, 10%);
}

View file

@ -4,6 +4,7 @@ import Latex from "../components/latex";
import Panel from "../components/panel";
import Example from "../components/example";
import Todo from "../components/todo";
import Code from "../components/code";
const r = String.raw;
@ -12,9 +13,207 @@ export default class ApprendimentoSistemiArtificiali extends Component {
return (
<div>
<h1>Apprendimento ed evoluzione in sistemi artificiali</h1>
<Split>
<Split title={"NetLogo"}>
<Panel title={"Cos'è?"}>
<p>
NetLogo è un software di modellazione sistemi multiagente.
</p>
<p>
Si può <a href={"https://ccl.northwestern.edu/netlogo/download.shtml"}>scaricare</a> o <a href={"https://www.netlogoweb.org/launch"}>usare da browser</a>.
</p>
<p>
Il suo codice sorgente è disponibile su <a href={"https://github.com/NetLogo/NetLogo"}>GitHub</a>, e ha una pagina di <a href={"https://ccl.northwestern.edu/netlogo/docs/dictionary.html"}>documentazione</a>.
</p>
</Panel>
</Split>
<Split title={"Agenti di NetLogo"}>
<Panel title={"Observer"}>
<p>
L'<b>utente</b> di NetLogo, che vive nel contesto globale e dà ordini agli altri agenti.
</p>
</Panel>
<Panel title={"Turtle"}>
<p>
Entità che possono <b>muoversi</b> per il mondo.
</p>
<Example>
Sono più o meno come le <a href={"https://www.computercraft.info/wiki/Turtle"}>Turtle di Computercraft</a>!
</Example>
<p>
Possono essere di una <i>breed</i> (razza) specifica, definite con:
</p>
<Code>{r`breed [<plurale> <singolare>]`}</Code>
<Example>
Le breed sono praticamente sottoclassi di turtle.
</Example>
</Panel>
<Panel title={"Patch"}>
<p>
I <b>quadratini</b> del mondo. Possono essere di vari colori e avere varie proprietà.
</p>
<Example>
...possiamo dire che questi siano i blocchi di Minecraft?
</Example>
</Panel>
<Panel title={"Link"}>
<p>
<b>Collegamenti</b> tra due turtle.
</p>
</Panel>
</Split>
<Split title={"Creazione di agenti"}>
<Panel title={"Observer"}>
<p>
L'observer viene creato automaticamente all'apertura della simulazione.
</p>
</Panel>
<Panel title={"Turtle"}>
<p>
Nuove turtle possono essere create con il comando:
</p>
<Code>{r`<prefisso>-<breed> <quantità>`}</Code>
<p>
Dove prefisso varia in base al contesto attuale:
</p>
<table>
<thead>
<tr>
<th>Contesto</th>
<th>Prefisso</th>
</tr>
</thead>
<tbody>
<tr>
<td>Observer</td>
<td><code>{r`create`}</code></td>
</tr>
<tr>
<td>Turtle</td>
<td><code>{r`hatch`}</code></td>
</tr>
<tr>
<td>Patch</td>
<td><code>{r`sprout`}</code></td>
</tr>
</tbody>
</table>
</Panel>
</Split>
<Split title={"Variabili"}>
<Panel title={"Observer"}>
<p>
All'inizio del codice:
</p>
<Code>{`globals [var1 var2 var3]`}</Code>
<Example>
Sono a tutti gli effetti variabili globali.
</Example>
</Panel>
<Panel title={"Turtle"}>
<p>
Aggiungi proprietà a tutte le turtle:
</p>
<Code>{`turtles-own [var1 var2 var3]`}</Code>
<p>
Aggiungi proprietà alle turtle di un breed:
</p>
<Code>{`<breed>-own [var1 var2 var3]`}</Code>
</Panel>
<Panel title={"Patch"}>
<p>
Aggiungi proprietà alle patch:
</p>
<Code>{r`patches-own [var1 var2 var3]`}</Code>
</Panel>
<Panel title={"Link"}>
<p>
Aggiungi proprietà ai link:
</p>
<Code>{r`links-own [var1 var2 var3]`}</Code>
</Panel>
</Split>
<Split>
<Panel title={"Locali"}>
<p>
Si possono creare con:
</p>
<Code>{r`let <nome> <valore>`}</Code>
</Panel>
<Panel title={"Set"}>
<p>
Si può impostare il valore di una variabile con:
</p>
<Code>{r`set <nome> <valore>`}</Code>
</Panel>
</Split>
<Split title={"Blocchi di codice"}>
<Panel title={"Cambi di contesto"}>
<p>
Per cambiare contesto:
</p>
<Code>{r`
ask <bersaglio> [
<blocco di codice>
]
`}</Code>
<p>
Nel caso ci siano più bersagli, verranno eseguiti uno
</p>
</Panel>
<Panel title={"Commands"}>
<p>
Funzioni che non restituiscono nulla:
</p>
<Code>{r`
to <nome>
<blocco di codice>
end
`}</Code>
<p>
Con argomenti:
</p>
<Code>{r`
to <nome> [var1 var2 var3]
<blocco di codice>
end
`}</Code>
</Panel>
<Panel title={"Reporter"}>
<p>
Funzioni che restituiscono un valore:
</p>
<Code>{r`
to-report <nome> [var1 var2 var3]
<blocco di codice>
report <restituito>
end
`}</Code>
</Panel>
</Split>
<Split title={"Comandi per turtle"}>
<Panel title={"Avanti"}>
<p>
Muoviti di 10 unità:
</p>
<Code>{r`
forward 10
back 10
`}</Code>
<p>
Nota che la velocità massima delle tartarughe è di 1 unità/tick, quindi muoversi di 10 unità richiederà 10 tick.
</p>
</Panel>
<Panel title={"Ruota"}>
<p>
Ruota di 10 gradi:
</p>
<Code>{r`
left 10
right 10
`}</Code>
</Panel>
</Split>
</div>
)
}