全部 新建

user:thomas 由用户创建的 Gists

title:mygist 包含指定标题的 Gists

filename:myfile.txt 包含指定文件名的 Gists

extension:yml 包含指定扩展名的 Gists

language:go 包含指定编程语言的 Gists

topic:homelab 具有给定主题的 Gists

注册

登录


全部 新建 注册 登录

所有 Gists

最近 创建
最早 创建
最近 更新
最早 更新
june's Avatar

june / Trans Pride Flag

0 喜欢
0 派生
1 文件
最后活跃于 1752438127
A small Nova program to draw the trans pride flag in the playground.
1 || :@include: (
2 lib/rpn.nv
3 lib/nv/meta.nv
4 lib/platforms/browser_game.nv
5 lib/platforms/browser_dom.nv
6 )
7
8 ||:: create a 400 by 400 canvas
9 :: draw the trans pride flag
june's Avatar

june / Welcome to the Nova Playground

0 喜欢
0 派生
1 文件
最后活跃于 1752437395
A short welcome with a small music demo.
1 |:: Welcome.|
2 :: This is the new Nova playground.
3 :: Enter or modify the code in this box, then hit 'Run Code' to see it in action.
4 :: Hit 'Step Code' to see your code evaluate step-by-step.
5 :: Hit 'Get Share Url' to generate a sharable link in your address bar.
6 :: Have fun. Ask questions.
7
8 |: A small request. :|
9 :: This playground is a work in progress.
10 :: It can be broken.
sierra's Avatar

sierra / welcome.nv

0 喜欢
0 派生
1 文件
最后活跃于 1752437389
1 |:: Welcome.|
2 :: This is the new Nova playground.
3 :: Enter or modify the code in this box, then hit 'Run Code' to see it in action.
4 :: Hit 'Step Code' to see your code evaluate step-by-step.
5 :: Hit 'Get Share Url' to generate a sharable link in your address bar.
6 :: Have fun. Ask questions.
7
8 |: A small request. :|
9 :: This playground is a work in progress.
10 :: It can be broken.
capitalex's Avatar

capitalex / parse.log

0 喜欢
0 派生
2 文件
最后活跃于 1752276654
1 GIVE (keyword for 'if' [label]) (say [symbol])
2 GIVE (keyword for 'else' [label]) (otherwise-say [symbol])
3 GIVE (99 [symbol]) (bottles [symbol]) (of [symbol]) (beer [symbol])
4 RULE
5 TAKE (n [var]) (bottles [symbol]) (of [symbol]) (beer [symbol])
6 GIVE (n [var]) (bottles [symbol]) (of [symbol]) (beer [symbol]) (on [symbol]) (the [symbol]) (wall! [symbol])
7 GIVE (n [var]) (bottles [symbol]) (of [symbol]) (beer! [symbol])
8 GIVE (You [symbol]) (take [symbol]) (one [symbol]) (down, [symbol]) (pass [symbol]) (it [symbol]) (around! [symbol])
9 GIVE (when [symbol]) (n [var]) (is [symbol]) (1, [symbol]) (say [symbol])
10 GIVE (No [symbol]) (more [symbol]) (bottles [symbol]) (of [symbol]) (beer [symbol]) (on [symbol]) (the [symbol]) (wall! [symbol])
june's Avatar

june / A Short Hike

0 喜欢
0 派生
1 文件
最后活跃于 1752119549
A micro-narrative written with Nova.
1 | ~ 🚶‍♂️‍➡️ ~ 📍 ~ 🌅 ~ | ~ ☀️ ~
2 | ~ 🚶‍♂️‍➡️ ~ 📍 ~ ☀️ ~ | ~ 🌄 ~
3 | ~ 🚶‍♂️‍➡️ ~ 📍 ~ 🌄 ~ | ~ 🌌 ~
4
5 | ~ 🎒 ~ 🥢 | ~ ✋ ~ 🥢
6 | ~ 🎒 ~ $ | ~ 🏕️ ~ $
7
8 | ~ ✋ ~ 🥢 ~ 👀 ~ 🪨 | ~ 💥 ~ (🥢 🪨)
9
10 | ~ 💥 ~ (🥢 🪨) | ~ ✋ ~ (🥢 💥)
capitalex's Avatar

capitalex / MainActivity.kt

0 喜欢
0 派生
1 文件
最后活跃于 1751943995
1 package com.ogletree.composecameraexample
2
3 import android.content.ContentResolver
4 import android.content.ContentValues
5 import android.graphics.Bitmap
6 import android.graphics.BitmapFactory
7 import android.graphics.Matrix
8 import android.net.Uri
9 import android.os.Bundle
10 import android.provider.MediaStore
capitalex's Avatar

capitalex / mushroom-path.endless

0 喜欢
0 派生
1 文件
最后活跃于 1751926981
1 object enter
2 object enter
3 "mushroom-2" >name
4 solid >true
5 object enter
6 222 >x 36 >y 49 >w 41 >h
7 leave >bounds
8 leave >slices
9 object enter
10 "mushroom-3" >name
capitalex's Avatar

capitalex / Export Nova.lua

0 喜欢
0 派生
1 文件
最后活跃于 1751859074
1 local dialog = Dialog()
2 dialog:file{
3 id = "save_location",
4 label = "Save Location",
5 title = "Save Nova",
6 save = true,
7 filetypes = { "nv" },
8 }
9 dialog:button {
10 id = "save_button",
capitalex's Avatar

capitalex / square.lua

0 喜欢
0 派生
1 文件
最后活跃于 1751822501
1 require "prelude"
2 local function _zt()
3 local y, x = POP(''), POP('')
4 PUSH('', x * y)
5 end
6 local function _zp()
7 local y, x = POP(''), POP('')
8 PUSH('', x + y)
9 end
10 local function _sqrt()
capitalex's Avatar

capitalex / prelude.lua

0 喜欢
0 派生
1 文件
最后活跃于 1751820751
1 local function push(self, value)
2 self.n = self.n + 1
3 table.insert(self, value)
4 end
5
6 local function pop(self)
7 local value = self[self.n]
8 self[self.n] = nil
9 self.n = self.n - 1
10 return value
上一页 下一页

由 Opengist 强力驱动 ⋅ Load: 188ms⋅

中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文