changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/syn/pkg.lisp

changeset 698: 96958d3eb5b0
parent: 7a5d6e45de7a
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; lib/syn/pkg.lisp --- Syn Packages
2 
3 ;; Syntax Processors
4 
5 ;;; Commentary:
6 
7 ;;; Code:
8 (defpackage :syn
9  (:use :cl :std :obj :parse :ts)
10  (:export))
11 
12 (in-package :syn)
13 
14 (defvar *syntax-tree* nil)
15 (defclass syntax () ())
16 
17 ;; does not need tree-sitter lang loaded before use
18 (defclass tree-sitter-syntax (syntax)
19  (path
20  info))
21 
22 ;; needs tree-sitter lang loaded before use
23 (defstruct tree-sitter-syntax-info
24  version
25  symbols
26  fields)