etaf/etaf.el
Kinneyzhang 43b17192d9 feat: implement unified etaf architecture
Deliver the unified View and Component model with retained Runtime, reactive scopes, Context, Behaviors, events, Actions, styles, Resources, Data, official UI Components, and Playground examples.\n\nVerification: make check and make load pass in the independent repository; sibling Ebox core tests pass 544/544.
2026-08-05 02:56:13 +08:00

46 lines
1.2 KiB
EmacsLisp

;;; etaf.el --- Text application framework facade -*- lexical-binding: t; -*-
;; SPDX-License-Identifier: GPL-3.0-or-later
;; Author: ETAF contributors
;; Version: 0.1.0
;; Package-Requires: ((emacs "29.1") (ebox "1.0.1"))
;; Keywords: ui, tools, convenience
;; URL: https://github.com/ginqi7/etaf
;;; Commentary:
;; ETAF is a small Component and View layer above the independent Ebox
;; renderer. Runtime, reactive Scope, and the structural grammar are loaded
;; through this one public package entry.
;;; Code:
(defconst etaf--directory
(file-name-directory (or load-file-name buffer-file-name))
"Directory containing the ETAF implementation files.")
(defun etaf--prefer-local-files ()
"Keep this package's implementation directory first on `load-path'."
(setq load-path (cons etaf--directory
(delete etaf--directory load-path))))
(etaf--prefer-local-files)
(require 'etaf-view)
(require 'etaf-component)
(require 'etaf-reactive)
(require 'etaf-context)
(require 'etaf-resource)
(require 'etaf-data)
(require 'etaf-renderer)
(etaf--prefer-local-files)
(require 'etaf-runtime)
(require 'etaf-behavior)
(require 'etaf-actions)
(require 'etaf-events)
(provide 'etaf)
;;; etaf.el ends here