{"id":96268,"date":"2020-10-10T01:42:05","date_gmt":"2020-10-09T23:42:05","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/dostupen-snek-1-5-python-podobnyj-yazyk-programmirovaniya-dlya-vstraivaemyh-sistem"},"modified":"2020-10-10T01:42:05","modified_gmt":"2020-10-09T23:42:05","slug":"dostupen-snek-1-5-python-podobnyj-yazyk-programmirovaniya-dlya-vstraivaemyh-sistem","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sv\/blog\/news\/dostupen-snek-1-5-python-podobnyj-yazyk-programmirovaniya-dlya-vstraivaemyh-sistem","title":{"rendered":"Snek 1.5, ett Python-liknande programmeringsspr\u00e5k f\u00f6r inbyggda system, \u00e4r nu tillg\u00e4ngligt.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Keith Packard (<noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Keith_Packard\">Keith Packard<\/a><\/noindex>), aktiv utvecklare av Debian, projektledare f\u00f6r X.Org och skapare av m\u00e5nga X-till\u00e4gg, inklusive XRender, XComposite och XRandR,  <noindex><a rel=\"nofollow\" href=\"https:\/\/keithp.com\/pipermail\/snek\/2020-October\/000395.html\">publicerade<\/a><\/noindex> det nya utg\u00e5van av programmeringsspr\u00e5ket <noindex><a rel=\"nofollow\" href=\"https:\/\/sneklang.org\/\">Snek 1.5<\/a><\/noindex>, som kan betraktas som en f\u00f6renklad version av spr\u00e5ket Python, anpassad f\u00f6r anv\u00e4ndning p\u00e5 inbyggda system d\u00e4r resurserna \u00e4r otillr\u00e4ckliga f\u00f6r att k\u00f6ra <noindex><a rel=\"nofollow\" href=\"https:\/\/micropython.org\/\">MicroPython<\/a><\/noindex> och <noindex><a rel=\"nofollow\" href=\"https:\/\/circuitpython.org\/\">CircuitPython<\/a><\/noindex>. Snek f\u00f6rv\u00e4ntar sig inte att ha fullst\u00e4ndig st\u00f6d f\u00f6r spr\u00e5ket Python, men kan anv\u00e4ndas p\u00e5 chip med endast 2 KB RAM, 32 KB Flash-minne och 1 KB EEPROM. Projektets kod <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/keith-packard\/snek\">sprids<\/a><\/noindex> \u00e4r licensierad under GPLv3. Byggnader <noindex><a rel=\"nofollow\" href=\"https:\/\/sneklang.org\/dist\/\">\u00e4r f\u00f6rberedda<\/a><\/noindex> f\u00f6r Linux, Windows och macOS. <\/p>\n<p>Behovet av ett nytt spr\u00e5k uppstod under Keith Packards undervisning, d\u00e4r han ville ha ett spr\u00e5k f\u00f6r att l\u00e4ra sina studenter som \u00e4r l\u00e4mpligt f\u00f6r anv\u00e4ndning p\u00e5 Arduino-kort och p\u00e5minner om Lego Logo i sina syften, men som ocks\u00e5 kan bli grunden f\u00f6r vidare studier i programmering. Nyckelkraven f\u00f6r det nya spr\u00e5ket var textbaserad natur (demonstration av verkliga programmeringsmetoder, utan beroende av grafiska gr\u00e4nssnitt och mus),<br \/>\n att ge en grund f\u00f6r verklig programmering och spr\u00e5kets kompaktess (m\u00f6jligheten att l\u00e4ra sig spr\u00e5ket p\u00e5 n\u00e5gra timmar).<\/p>\n<p>Snek-spr\u00e5ket anv\u00e4nder semantik och syntax fr\u00e5n Python, men har endast ett begr\u00e4nsat delm\u00e4ngd av dess funktioner. Ett av m\u00e5len som beaktas vid utvecklingen \u00e4r att bevara bak\u00e5tkompatibiliteten \u2014 program skrivna i Snek kan k\u00f6ras med hj\u00e4lp av fullst\u00e4ndiga implementationer av Python 3. Det betyder att studenter som \u00e4r bekanta med Snek kan g\u00e5 direkt vidare till att studera fullst\u00e4ndigt Python och anv\u00e4nda sina befintliga verk f\u00f6r arbete med Python.<\/p>\n<p>Snek har portats f\u00f6r ett brett spektrum av inbyggda enheter, inklusive Arduino-kort, Feather\/Metro M0 Express, Adafruit Crickit, Adafruit ItsyBitsy, Lego EV3 och \u03bcduino, och erbjuder tillg\u00e5ng till GPIO och olika perifera enheter. Dessutom utvecklar projektet ocks\u00e5 en egen \u00f6ppen mikrokontroller. <noindex><a rel=\"nofollow\" href=\"https:\/\/sneklang.org\/snekboard\/\">Snekboard<\/a><\/noindex> (ARM Cortex M0 med 256 KB Flash och 32 KB RAM), avsedd f\u00f6r anv\u00e4ndning med Snek eller CircuitPython och inriktad p\u00e5 utbildning och skapande av robotar med Lego-komponenter. Medel f\u00f6r att skapa Snekboard  <noindex><a rel=\"nofollow\" href=\"https:\/\/www.crowdsupply.com\/keith-packard\/snekboard\">har samlats in<\/a><\/noindex> genom crowdfunding.<\/p>\n<p>F\u00f6r apputveckling kan Snek anv\u00e4nda en kodredigerare <noindex><a rel=\"nofollow\" href=\"https:\/\/codewith.mu\/\">Mu<\/a><\/noindex> (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/keith-packard\/mu\">patchar f\u00f6r st\u00f6d<\/a><\/noindex>) eller en egen integrerad konsolutvecklingsmilj\u00f6 <noindex><a rel=\"nofollow\" href=\"https:\/\/manpages.debian.org\/testing\/snek\/snekde.1.en.html\">Snekde<\/a><\/noindex>, som \u00e4r skriven med hj\u00e4lp av Curses-biblioteket och tillhandah\u00e5ller ett gr\u00e4nssnitt f\u00f6r att redigera kod och interagera med enheten via USB-porten (kan direkt spara program i enhetens eeprom och ladda kod fr\u00e5n enheten).<\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/keithp.com\/pictures\/snekde.png\"><img decoding=\"async\" alt=\"Snek 1.5, ett Python-liknande programmeringsspr\u00e5k f\u00f6r inbyggda system, \u00e4r nu tillg\u00e4ngligt.\" src=\"\/wp-content\/uploads\/2020\/10\/2622e7c502eb81fe5a9cdbbe6789eb49.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p>I den nya utg\u00e5van:<\/p>\n<ul>\n<li class=\"l\"> En port f\u00f6r Arduino Uno-kortet har lagts till, som liknar porten f\u00f6r Duemilanove-kortet, men inkluderar firmware-ers\u00e4ttning f\u00f6r Atmega 16u2.\n<li class=\"l\"> Korrekt st\u00f6d f\u00f6r j\u00e4mf\u00f6relseoperatorers kedjor (a &lt; b &lt; c) har lagts till.\n<li class=\"l\"> F\u00f6r Adafruit Circuit Playground Express-kort tillhandah\u00e5lls m\u00f6jligheten att \u00e5terge ljud.\n<li class=\"l\"> F\u00f6r Duemilanove-kortet har bootloadern <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/Optiboot\/optiboot\">Optiboot<\/a><\/noindex>, som m\u00f6jligg\u00f6r ers\u00e4ttning av Snek, s\u00e5 att en separat programmeringsenhet inte beh\u00f6vs.\n<\/ul>\n<p>F\u00f6rutom Snek utvecklar Kit Packard ocks\u00e5 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51873\">standard C-biblioteket<\/a><\/noindex> PicoLibc <noindex><a rel=\"nofollow\" href=\"https:\/\/keithp.com\/picolibc\/\">, som kan anv\u00e4ndas p\u00e5 inbyggda enheter med liten RAM.<\/a><\/noindex>Honeypot vs Deception med exempel fr\u00e5n Xello<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>K\u00e4lla: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53860\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f XRender, XComposite \u0438 XRandR, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043d\u043e\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Snek 1.5, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u044f\u0437\u044b\u043a\u0430 Python, \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f MicroPython \u0438 CircuitPython. Snek \u043d\u0435 \u043f\u0440\u0435\u0442\u0435\u043d\u0434\u0443\u0435\u0442 \u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":96269,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-96268","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sv\/blog\/news\/dostupen-snek-1-5-python-podobnyj-yazyk-programmirovaniya-dlya-vstraivaemyh-sistem\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d Snek 1.5, Python-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sv\/blog\/news\/dostupen-snek-1-5-python-podobnyj-yazyk-programmirovaniya-dlya-vstraivaemyh-sistem\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-10-09T23:42:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-10-09T23:42:05+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Tillg\u00e4nglig Snek 1.5, ett Python-liknande programmeringsspr\u00e5k f\u00f6r inb\u00e4ddade system | ProHoster","description":"\ud83e\udd47Snek 1.5 \u00e4r tillg\u00e4ngligt, ett Python-liknande programmeringsspr\u00e5k f\u00f6r inbyggda system | ProHoster","canonical_url":"https:\/\/prohoster.info\/sv\/blog\/news\/dostupen-snek-1-5-python-podobnyj-yazyk-programmirovaniya-dlya-vstraivaemyh-sistem","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d Snek 1.5, Python-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c | ProHoster","og:description":"\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f.","og:url":"https:\/\/prohoster.info\/sv\/blog\/news\/dostupen-snek-1-5-python-podobnyj-yazyk-programmirovaniya-dlya-vstraivaemyh-sistem","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-10-09T23:42:05+00:00","article:modified_time":"2020-10-09T23:42:05+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"96268","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 10:47:23","updated":"2022-10-03 07:28:16","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/96268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=96268"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/96268\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media\/96269"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=96268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=96268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=96268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}