{"id":25643538,"url":"https://github.com/smoeding/ps-ts-mode","last_synced_at":"2026-06-15T02:31:14.224Z","repository":{"id":270827280,"uuid":"911569056","full_name":"smoeding/ps-ts-mode","owner":"smoeding","description":"Emacs major mode with tree-sitter support for the PostScript language","archived":false,"fork":false,"pushed_at":"2026-01-26T16:36:11.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-27T04:48:41.088Z","etag":null,"topics":["emacs-mode","postscript","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smoeding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-03T10:23:40.000Z","updated_at":"2026-01-26T16:36:14.000Z","dependencies_parsed_at":"2025-01-03T11:41:34.496Z","dependency_job_id":"a9bbd493-2ee0-4b53-ada0-0df85673bde1","html_url":"https://github.com/smoeding/ps-ts-mode","commit_stats":null,"previous_names":["smoeding/ps-ts-mode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smoeding/ps-ts-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fps-ts-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fps-ts-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fps-ts-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fps-ts-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoeding","download_url":"https://codeload.github.com/smoeding/ps-ts-mode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fps-ts-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34345574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emacs-mode","postscript","tree-sitter"],"created_at":"2025-02-23T06:41:32.137Z","updated_at":"2026-06-15T02:31:14.219Z","avatar_url":"https://github.com/smoeding.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Emacs major mode for PostScript using Tree-sitter\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Build Status](https://github.com/smoeding/ps-ts-mode/actions/workflows/CI.yaml/badge.svg)](https://github.com/smoeding/ps-ts-mode/actions/workflows/CI.yaml)\n\nThis is a major mode for [GNU Emacs](https://www.gnu.org/software/emacs/) 29.1 or later which adds support for the PostScript page description and programming language. The mode uses a Tree-sitter parser to be able to parse the code and provide fontification, indentation, navigation and more.\n\n## Features\n\nThe mode provides the following features and enhancements to make writing PostScript code easier.\n\n### Syntax highlighting\n\nSyntax highlighting for the following elements is implemented:\n\n- document structure comments\n- comments\n- numbers\n- strings including escape sequences\n- literal names\n- operators\n- the standard builtin font names\n\n### Indentation\n\nIndentation for array, procedure and dictionary structures is implemented.\n\n### Navigation\n\nThe keybindings \u003ckbd\u003eC-M-a\u003c/kbd\u003e and \u003ckbd\u003eC-M-e\u003c/kbd\u003e jump to the preceding or following document structure comment. In a DSC compliant document this includes the prolog, setup and page sections.\n\n### Completion\n\nCompletion at point can complete the regular PostScript operators and also the 35 standard PostScript font names.\n\n### Documentation\n\nElDoc is used to display pre- and post-execution stack details for the operator at point in the echo area.\n\n## Installation\n\nEmacs 29.1 or above with Tree-sitter support is required.\n\nAlso the appropriate [parser](https://github.com/smoeding/tree-sitter-postscript) for the PostScript language needs to be installed. The following Elisp code should be used to install the PostScript language parser.  This requires some tools -- notably a compiler toolchain -- to be available on your machine.\n\n```elisp\n(require 'ps-ts-mode)\n(ps-ts-mode-install-grammar)\n```\n\nUsing the function provided by the package ensures that a version of the parser matching the package will be installed. These commands should also be used to update the parser to the correct version when the package is updated.\n\n## License\n\nPostScript Tree-sitter Mode is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nPostScript Tree-sitter Mode is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the [GNU General Public License](http://www.gnu.org/licenses/) for more details.\n\nPostScript is a trademark of Adobe Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoeding%2Fps-ts-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoeding%2Fps-ts-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoeding%2Fps-ts-mode/lists"}