Server IP : 111.118.215.189 / Your IP : 3.128.31.200 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/play/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:36 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/play/life.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@61 Vector of rectangles containing some Life startup patterns. (defvar life-patterns [("@@@" " @@" "@@@") ("@@@ @@@" "@@ @@ " "@@@ @@@") ("@@@ @@@" "@@ @@" "@@@ @@@") ("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@") ("@@@@@@@@@@") (" @@@@@@@@@@ " " @@@@@@@@@@ " " @@@@@@@@@@ " "@@@@@@@@@@ " "@@@@@@@@@@ ") ("@" "@" "@" "@" "@" "@" "@" "@" "@" "@" "@" "@" "@" "@" "@") ("@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @" "@ @") ("@@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@ " " @@") ("@@@@@@@@@" "@ @ @" "@ @@@@@ @" "@ @ @ @" "@@@ @@@" "@ @ @ @" "@ @@@@@ @" "@ @ @" "@@@@@@@@@") (" @ " " @ @ " " @@ @@ @@" " @ @ @@ @@" "@@ @ @ @@ " "@@ @ @ @@ @ @ " " @ @ @ " " @ @ " " @@ ") (" @ " " @ @@" " @ @ " " @ " " @ " "@ @ ") ("@@@ @" "@ " " @@" " @@ @" "@ @ @") ("@@@@@@@@ @@@@@ @@@ @@@@@@@ @@@@@")] (#$ . 552)) (defalias 'life-life-char '(macro . #[nil "\300\207" [64] 1])) (defalias 'life-death-char '(macro . #[nil "\300\207" [65] 1])) (defalias 'life-birth-char '(macro . #[nil "\300\207" [3] 1])) (defalias 'life-void-char '(macro . #[nil "\300\207" [32] 1])) (defalias 'life-life-string '(macro . #[nil "\300\301!\207" [char-to-string 64] 2])) (defalias 'life-death-string '(macro . #[nil "\300\301!\207" [char-to-string 65] 2])) (defalias 'life-birth-string '(macro . #[nil "\300\301!\207" [char-to-string 3] 2])) (defalias 'life-void-string '(macro . #[nil "\300\301!\207" [char-to-string 32] 2])) (defalias 'life-not-void-regexp '(macro . #[nil "\300\207" ["[^ \n]"] 1])) (defalias 'life-increment '(macro . #[(variable) "\301\302DE\207" [variable setq 1+] 4])) (defvar life-neighbor-deltas nil) (defvar life-window-start nil) (defvar life-current-generation nil) (defvar life-generation-string nil) #@206 Run Conway's Life simulation. The starting pattern is randomly selected. Prefix arg (optional first arg non-nil from a program) is the number of seconds to sleep between generations (this defaults to 1). (defalias 'life #[(&optional sleeptime) "\204 \301\302 \210\303\304\215\207" [sleeptime 1 life-setup life-exit (byte-code "\302\303 !\210\304 \210\305 \210\306 \210)\202 " [inhibit-quit sleeptime t life-display-generation life-grim-reaper life-expand-plane-if-needed life-increment-generation] 2)] 2 (#$ . 3108) "p"]) (byte-code "\300\301\302\"\210\303\301\304\305#\207" [defalias life-mode life put mode-class special] 4) (defalias 'life-setup #[nil "\306\307\310\311!\312\"\210\313 \210\314 \210\306\315\316\312\306\317#\320$\321%\322 S&\323'\324p!\210\325 \210eb\210\326\327\306\312#\203E \330\331\312\211#\210\2024 eb\210&\332 Z\333\245m\204] j\210\306y\210\202P \334 S\335ed\"Z\333\245eb\210\336!\210db\210\336!\210eb\210m\204\226 \306\210&j\210\337&!\210`\306\210`|\210\306y\210\202y \340ed\"\210\341 \210\342 )\207" [n case-fold-search mode-name major-mode truncate-lines show-trailing-whitespace nil switch-to-buffer get-buffer-create "*Life*" t erase-buffer kill-all-local-variables "Life" life-mode 0 "0" ("Life: generation " life-generation-string) window-width 1 buffer-disable-undo life-insert-random-pattern re-search-forward "[^ \n]" replace-match "@" line-end-position 2 window-height count-lines newline move-to-column untabify life-expand-plane-if-needed life-compute-neighbor-deltas life-current-generation life-generation-string mode-line-buffer-identification fill-column life-window-start] 4]) (defalias 'life-compute-neighbor-deltas #[nil "\302[T[\303\\[\304\211T\303\\\257\211\207" [fill-column life-neighbor-deltas -1 2 1] 9]) (defalias 'life-insert-random-pattern #[nil "\301\302G!\234!\210\303c\207" [life-patterns insert-rectangle random 10] 4]) (defalias 'life-increment-generation #[nil "T\302!\211\207" [life-current-generation life-generation-string int-to-string] 2]) (defalias 'life-grim-reaper #[nil "\306\307!\210eb\210\307\211\211\211\211\310\311\307\312#\203\205 \313`S\203s \n@\\\211f\211\314=\203>