No description
  • JavaScript 82.8%
  • HTML 8.6%
  • CSS 8.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-02 21:30:26 -05:00
.github/workflows Update Vite, switch to pnpm 2025-06-08 18:16:04 -04:00
images Add screenshots to README 2022-10-09 22:38:08 -04:00
public Barebones Go support 2024-02-15 16:01:39 -05:00
.editorconfig Add some styles 2024-02-10 13:19:13 -05:00
.gitignore Move to modern tooling (Vite) 2024-02-04 14:57:15 -05:00
.prettierignore Install and configure Prettier 2024-02-04 15:04:11 -05:00
.prettierrc Install and configure Prettier 2024-02-04 15:04:11 -05:00
App.css Fix monospace font on macOS 2024-04-01 12:45:39 -04:00
App.jsx Update web-tree-sitter 2025-04-22 23:30:03 -04:00
common_colors.js Various node/color extensions 2024-02-15 16:01:22 -05:00
index.css Fix monospace font on macOS 2024-04-01 12:45:39 -04:00
index.html Add instructions 2024-02-14 12:04:50 -05:00
index.jsx Add some styles 2024-02-10 13:19:13 -05:00
jsconfig.json Add jsconfig.json 2024-02-04 15:04:12 -05:00
languages.js Add ternary color for JavaScript 2024-07-28 01:33:24 -04:00
LICENSE License under MIT 2022-10-09 22:40:44 -04:00
Node.jsx Formatting 2024-02-19 19:45:42 -05:00
package.json Update Vite 2026-01-20 22:23:33 -05:00
pnpm-lock.yaml Update rollup 2026-03-02 21:30:26 -05:00
README.md Add JavaScript support 2024-02-04 15:10:07 -05:00
svg_renderer.js WIP: SVG renderer 2024-08-08 23:51:47 -04:00
ToolBar.jsx Move ToolBar to its own component 2024-02-15 14:51:51 -05:00
vite.config.js Run prettier 2024-02-10 13:19:13 -05:00

Reveal

A tool to show the underlying AST stucture of your code through colored boxes. It's like syntax highlighting, but shows the full extent of syntactic constructs.

Concept

This was the mockup that I created when I first had the idea:

Code shown with colored boxes around sections of code that represent AST nodes

Note that this example is in the Gleam programming language whereas the app currently only supports Elixir and JavaScript (more soon!).

Examples

Shows precedence

An example of Reveal showing the precedence of binary operators

Node names available on hover

An example of Reveal showing the label "arguments" on a box around a module's name in a defmodule expression

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app in the development mode. Open http://localhost:5173 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.

npm run build

Builds the app for production to the dist folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!