GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TuskQuery/sql-editor: Minimal SQL editor for Tusk — hand-rolled tokenizer, colorized rendering on perry/ui.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
perry.config.ts
perry.config.ts
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

@tusk/sql-editor

Minimal SQL editor for Tusk. Hand-rolled tokenizer (no regex — Perry AOT constraint), per-line colorized rendering on top of perry/ui.

No autocomplete or LSP integration in v1.

Install

bun add @tusk/sql-editor
# or, when developing alongside Tusk:
#   "@tusk/sql-editor": "file:../tusk-sql-editor"

Usage

import { SqlEditor } from '@tusk/sql-editor';

const { handle, api } = SqlEditor({
  initialText: 'SELECT * FROM users LIMIT 100',
  onRun(sql) { /* … */ },
  onCancel() { /* … */ },
});

Status

Pre-D3: placeholder widget that renders the SQL text inline. Real multiline editor with token highlighting, ⌘↩ to run, and ⌘. to cancel land in milestone D3 of the Tusk plan.

License

MIT.

About

Minimal SQL editor for Tusk — hand-rolled tokenizer, colorized rendering on perry/ui.

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.