Changes to eevoscroll.pub.scroll.pub

ScrollHub
ScrollHub
7 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://eevoscroll.pub
+ metaTags
+ editButton /edit.html
+ title Eevo - A Functional Scripting Language
+ style.css
+ header
+ class hero
+ nav
+ div Eevo
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Tutorial
+ href #tutorial
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/eevo
+ div
+ class hero-content
+ h1 Eevo
+ p A functional programming language for scripting,
etched on the scrolls of time
+ a Try Online
+ class primary-button
+ href #try
+ main
+ section
+ id features
+ class features
+ h2 Ancient Wisdom, Modern Power
+ div
+ class feature-grid
+ div
+ class feature-card
+ div 🏺
+ class feature-icon
+ h3 Pure Functions
+ p Everything is a pure function - no side effects, no surprises
+ div
+ class feature-card
+ div 📜
+ class feature-icon
+ h3 Concise Syntax
+ p Minimal syntax with powerful composition
+ div
+ class feature-card
+ div 🔮
+ class feature-icon
+ h3 Immutable Data
+ p All data is immutable by default
+ div
+ class feature-card
+ div ⚖️
+ class feature-icon
+ h3 Pattern Matching
+ p Elegant pattern matching for clean control flow
+ section
+ id tutorial
+ class tutorial
+ h2 The Ancient Scrolls
+ div
+ class scroll-container
+ div
+ class scroll-content
+ h3 First Principles
+ p Eevo is built on three sacred principles:
+ ol
+ li All is function
+ li All is data
+ li All is immutable
+ h3 The Way of Eevo
+ pre
+ class code-example
+ | greet name = "Hello " + name
+ |
+ | main = greet "traveler"
+ div
+ class code-output
+ p Output: "Hello traveler"
+ section
+ id try
+ class try-online
+ h2 Inscribe Your Own Scroll
+ div
+ class editor-container
+ textarea
+ class code-editor
+ placeholder Write your Eevo code here...
+ button
+ class run-button
+ Run
+ div
+ class output-panel
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href /docs
+ a Community
+ href /community
+ a Blog
+ href /blog
+ p May your functions be pure and your data immutable
prompt.json
Changed around line 1
+ {
+ "id": "efba2b4a-66a0-4c2f-be86-962ba05eae41",
+ "object": "chat.completion",
+ "created": 1749391687,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's my suggestion for the website:\n\n---domain---\neevoscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://eevoscroll.pub\nmetaTags\neditButton /edit.html\ntitle Eevo - A Functional Scripting Language\nstyle.css\nheader\n class hero\n nav\n div Eevo\n class logo\n div\n class nav-links\n a Features\n href #features\n a Tutorial\n href #tutorial\n a Edit\n href edit.html\n a GitHub\n class cta-button\n href https://github.com/breck7/eevo\n div\n class hero-content\n h1 Eevo\n p A functional programming language for scripting,
etched on the scrolls of time\n a Try Online\n class primary-button\n href #try\nmain\n section\n id features\n class features\n h2 Ancient Wisdom, Modern Power\n div\n class feature-grid\n div\n class feature-card\n div 🏺\n class feature-icon\n h3 Pure Functions\n p Everything is a pure function - no side effects, no surprises\n div\n class feature-card\n div 📜\n class feature-icon\n h3 Concise Syntax\n p Minimal syntax with powerful composition\n div\n class feature-card\n div 🔮\n class feature-icon\n h3 Immutable Data\n p All data is immutable by default\n div\n class feature-card\n div ⚖️\n class feature-icon\n h3 Pattern Matching\n p Elegant pattern matching for clean control flow\n section\n id tutorial\n class tutorial\n h2 The Ancient Scrolls\n div\n class scroll-container\n div\n class scroll-content\n h3 First Principles\n p Eevo is built on three sacred principles:\n ol\n li All is function\n li All is data\n li All is immutable\n h3 The Way of Eevo\n pre\n class code-example\n | greet name = \"Hello \" + name\n | \n | main = greet \"traveler\"\n div\n class code-output\n p Output: \"Hello traveler\"\n section\n id try\n class try-online\n h2 Inscribe Your Own Scroll\n div\n class editor-container\n textarea\n class code-editor\n placeholder Write your Eevo code here...\n button\n class run-button\n Run\n div\n class output-panel\nfooter\n div\n class footer-content\n div\n class footer-links\n a Documentation\n href /docs\n a Community\n href /community\n a Blog\n href /blog\n p May your functions be pure and your data immutable\n---style.css---\n:root {\n --papyrus: #f5e7d0;\n --ink: #3a3226;\n --gold: #d4af37;\n --red-ink: #8b0000;\n --scroll-edge: #c9b18b;\n}\n\nbody {\n font-family: \"Palatino Linotype\", \"Book Antiqua\", Palatino, serif;\n background-color: var(--papyrus);\n color: var(--ink);\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background-image: \n linear-gradient(90deg, var(--scroll-edge) 0%, transparent 5%, transparent 95%, var(--scroll-edge) 100%),\n linear-gradient(var(--papyrus) 30%, transparent);\n background-size: 100% 100%, 100% 30px;\n background-attachment: fixed;\n}\n\nheader.hero {\n background: linear-gradient(rgba(245, 231, 208, 0.9), rgba(245, 231, 208, 0.7)), url('data:image/svg+xml;utf8,');\n padding: 2rem 0;\n text-align: center;\n border-bottom: 1px solid var(--gold);\n}\n\n.logo {\n font-size: 2.5rem;\n font-weight: bold;\n color: var(--red-ink);\n text-shadow: 1px 1px 0px rgba(58, 50, 38, 0.2);\n letter-spacing: 2px;\n}\n\n.nav-links {\n display: flex;\n justify-content: center;\n gap: 1.5rem;\n margin-top: 1rem;\n}\n\n.nav-links a {\n color: var(--ink);\n text-decoration: none;\n font-size: 1.1rem;\n transition: color 0.3s;\n}\n\n.nav-links a:hover {\n color: var(--red-ink);\n}\n\n.cta-button {\n background-color: var(--gold);\n color: var(--ink) !important;\n padding: 0.5rem 1rem;\n border-radius: 4px;\n font-weight: bold;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n color: var(--red-ink);\n margin-bottom: 1rem;\n letter-spacing: 1px;\n}\n\n.hero-content p {\n font-size: 1.3rem;\n max-width: 800px;\n margin: 0 auto 2rem;\n}\n\n.primary-button {\n background-color: var(--red-ink);\n color: white !important;\n padding: 0.8rem 2rem;\n border-radius: 4px;\n font-size: 1.1rem;\n text-decoration: none;\n display: inline-block;\n transition: background-color 0.3s;\n}\n\n.primary-button:hover {\n background-color: #6b0000;\n}\n\nsection {\n padding: 3rem 1rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.feature-card {\n background-color: rgba(255, 255, 255, 0.7);\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n border: 1px solid rgba(212, 175, 55, 0.3);\n transition: transform 0.3s;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.feature-icon {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\n.scroll-container {\n background-color: rgba(255, 255, 255, 0.8);\n padding: 2rem;\n border-radius: 8px;\n border: 1px solid var(--gold);\n box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);\n position: relative;\n}\n\n.scroll-container:before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 30px;\n background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));\n}\n\n.scroll-container:after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 30px;\n background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0));\n}\n\n.code-example {\n background-color: rgba(58, 50, 38, 0.05);\n padding: 1rem;\n border-radius: 4px;\n font-family: \"Courier New\", monospace;\n white-space: pre-wrap;\n border-left: 3px solid var(--gold);\n}\n\n.code-output {\n background-color: rgba(58, 50, 38, 0.1);\n padding: 1rem;\n border-radius: 4px;\n margin-top: 1rem;\n}\n\n.editor-container {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.code-editor {\n min-height: 200px;\n padding: 1rem;\n font-family: \"Courier New\", monospace;\n background-color: rgba(255, 255, 255, 0.9);\n border: 1px solid var(--gold);\n border-radius: 4px;\n resize: vertical;\n}\n\n.run-button {\n align-self: flex-end;\n padding: 0.5rem 1.5rem;\n background-color: var(--gold);\n color: var(--ink);\n border: none;\n border-radius: 4px;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n\n.run-button:hover {\n background-color: #c9a227;\n}\n\n.output-panel {\n min-height: 100px;\n padding: 1rem;\n background-color: rgba(255, 255, 255, 0.9);\n border: 1px solid var(--gold);\n border-radius: 4px;\n}\n\nfooter {\n text-align: center;\n padding: 2rem 0;\n border-top: 1px solid var(--gold);\n margin-top: 2rem;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 1.5rem;\n margin-bottom: 1rem;\n}\n\n.footer-links a {\n color: var(--ink);\n text-decoration: none;\n}\n\n.footer-links a:hover {\n color: var(--red-ink);\n text-decoration: underline;\n}\n\n@media (max-width: 768px) {\n .nav-links {\n flex-direction: column;\n gap: 0.5rem;\n }\n \n .hero-content h1 {\n font-size: 2.5rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n \n .footer-links {\n flex-direction: column;\n gap: 0.5rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function(e) {\n e.preventDefault();\n const targetId = this.getAttribute('href');\n if (targetId === '#') return;\n \n const targetElement = document.querySelector(targetId);\n if (targetElement) {\n targetElement.scrollIntoView({\n behavior: 'smooth'\n });\n }\n });\n });\n\n // Run button functionality for the editor\n const runButton = document.querySelector('.run-button');\n if (runButton) {\n runButton.addEventListener('click', function() {\n const editor = document.querySelector('.code-editor');\n const outputPanel = document.querySelector('.output-panel');\n \n if (editor && outputPanel) {\n try {\n // In a real implementation, this would parse and execute Eevo code\n outputPanel.textContent = \"Executing your Eevo script...\\n\\n(Output would appear here)\";\n } catch (error) {\n outputPanel.textContent = \"Error: \" + error.message;\n }\n }\n });\n }\n\n // Add parchment texture effect to scroll sections\n const scrollSections = document.querySelectorAll('.scroll-container, .code-example');\n scrollSections.forEach(section => {\n section.style.backgroundImage = `\n linear-gradient(rgba(245, 231, 208, 0.7) 0%, rgba(245, 231, 208, 0.9) 100%),\n url('data:image/svg+xml;utf8,')\n `;\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 735,
+ "completion_tokens": 2843,
+ "total_tokens": 3578,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 735
+ },
+ "system_fingerprint": "fp_8802369eaa_prod0425fp8"
+ }
readme.scroll
Changed around line 1
+ # eevoscroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ a website for a functional programming language for scripting called eevo in the style of an ancient scroll
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "a website for a functional programming language for scripting called eevo in the style of an ancient scroll"
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ const targetId = this.getAttribute('href');
+ if (targetId === '#') return;
+
+ const targetElement = document.querySelector(targetId);
+ if (targetElement) {
+ targetElement.scrollIntoView({
+ behavior: 'smooth'
+ });
+ }
+ });
+ });
+
+ // Run button functionality for the editor
+ const runButton = document.querySelector('.run-button');
+ if (runButton) {
+ runButton.addEventListener('click', function() {
+ const editor = document.querySelector('.code-editor');
+ const outputPanel = document.querySelector('.output-panel');
+
+ if (editor && outputPanel) {
+ try {
+ // In a real implementation, this would parse and execute Eevo code
+ outputPanel.textContent = "Executing your Eevo script...\n\n(Output would appear here)";
+ } catch (error) {
+ outputPanel.textContent = "Error: " + error.message;
+ }
+ }
+ });
+ }
+
+ // Add parchment texture effect to scroll sections
+ const scrollSections = document.querySelectorAll('.scroll-container, .code-example');
+ scrollSections.forEach(section => {
+ section.style.backgroundImage = `
+ linear-gradient(rgba(245, 231, 208, 0.7) 0%, rgba(245, 231, 208, 0.9) 100%),
+ url('data:image/svg+xml;utf8,')
+ `;
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --papyrus: #f5e7d0;
+ --ink: #3a3226;
+ --gold: #d4af37;
+ --red-ink: #8b0000;
+ --scroll-edge: #c9b18b;
+ }
+
+ body {
+ font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
+ background-color: var(--papyrus);
+ color: var(--ink);
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ background-image:
+ linear-gradient(90deg, var(--scroll-edge) 0%, transparent 5%, transparent 95%, var(--scroll-edge) 100%),
+ linear-gradient(var(--papyrus) 30%, transparent);
+ background-size: 100% 100%, 100% 30px;
+ background-attachment: fixed;
+ }
+
+ header.hero {
+ background: linear-gradient(rgba(245, 231, 208, 0.9), rgba(245, 231, 208, 0.7)), url('data:image/svg+xml;utf8,');
+ padding: 2rem 0;
+ text-align: center;
+ border-bottom: 1px solid var(--gold);
+ }
+
+ .logo {
+ font-size: 2.5rem;
+ font-weight: bold;
+ color: var(--red-ink);
+ text-shadow: 1px 1px 0px rgba(58, 50, 38, 0.2);
+ letter-spacing: 2px;
+ }
+
+ .nav-links {
+ display: flex;
+ justify-content: center;
+ gap: 1.5rem;
+ margin-top: 1rem;
+ }
+
+ .nav-links a {
+ color: var(--ink);
+ text-decoration: none;
+ font-size: 1.1rem;
+ transition: color 0.3s;
+ }
+
+ .nav-links a:hover {
+ color: var(--red-ink);
+ }
+
+ .cta-button {
+ background-color: var(--gold);
+ color: var(--ink) !important;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ font-weight: bold;
+ }
+
+ .hero-content h1 {
+ font-size: 3.5rem;
+ color: var(--red-ink);
+ margin-bottom: 1rem;
+ letter-spacing: 1px;
+ }
+
+ .hero-content p {
+ font-size: 1.3rem;
+ max-width: 800px;
+ margin: 0 auto 2rem;
+ }
+
+ .primary-button {
+ background-color: var(--red-ink);
+ color: white !important;
+ padding: 0.8rem 2rem;
+ border-radius: 4px;
+ font-size: 1.1rem;
+ text-decoration: none;
+ display: inline-block;
+ transition: background-color 0.3s;
+ }
+
+ .primary-button:hover {
+ background-color: #6b0000;
+ }
+
+ section {
+ padding: 3rem 1rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .feature-card {
+ background-color: rgba(255, 255, 255, 0.7);
+ padding: 1.5rem;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ border: 1px solid rgba(212, 175, 55, 0.3);
+ transition: transform 0.3s;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .feature-icon {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+ }
+
+ .scroll-container {
+ background-color: rgba(255, 255, 255, 0.8);
+ padding: 2rem;
+ border-radius: 8px;
+ border: 1px solid var(--gold);
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
+ position: relative;
+ }
+
+ .scroll-container:before {
+ content: "";
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 30px;
+ background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
+ }
+
+ .scroll-container:after {
+ content: "";
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 30px;
+ background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0));
+ }
+
+ .code-example {
+ background-color: rgba(58, 50, 38, 0.05);
+ padding: 1rem;
+ border-radius: 4px;
+ font-family: "Courier New", monospace;
+ white-space: pre-wrap;
+ border-left: 3px solid var(--gold);
+ }
+
+ .code-output {
+ background-color: rgba(58, 50, 38, 0.1);
+ padding: 1rem;
+ border-radius: 4px;
+ margin-top: 1rem;
+ }
+
+ .editor-container {
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .code-editor {
+ min-height: 200px;
+ padding: 1rem;
+ font-family: "Courier New", monospace;
+ background-color: rgba(255, 255, 255, 0.9);
+ border: 1px solid var(--gold);
+ border-radius: 4px;
+ resize: vertical;
+ }
+
+ .run-button {
+ align-self: flex-end;
+ padding: 0.5rem 1.5rem;
+ background-color: var(--gold);
+ color: var(--ink);
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: background-color 0.3s;
+ }
+
+ .run-button:hover {
+ background-color: #c9a227;
+ }
+
+ .output-panel {
+ min-height: 100px;
+ padding: 1rem;
+ background-color: rgba(255, 255, 255, 0.9);
+ border: 1px solid var(--gold);
+ border-radius: 4px;
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem 0;
+ border-top: 1px solid var(--gold);
+ margin-top: 2rem;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 1.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .footer-links a {
+ color: var(--ink);
+ text-decoration: none;
+ }
+
+ .footer-links a:hover {
+ color: var(--red-ink);
+ text-decoration: underline;
+ }
+
+ @media (max-width: 768px) {
+ .nav-links {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .footer-links {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+ }