Commit f6a1ef3f authored by Robert Strandh's avatar Robert Strandh

Defined BR and HR elements and modified some html files accordingly.

parent d460f937
<HTML><TITLE> Master 2ème semestre </TITLE>
<HTML><HEAD><TITLE> Master 2ème semestre</TITLE></HEAD>
<BODY>
<a href="buffer-en.html">English version</a>
<p><a href="buffer-en.html">English version</a></p>
<h1> Projets de Programmation 2004 - 2005 </h1>
<br><hr><br>
<hr>
<ul>
<li> <h3> Titre du Sujet: </h3>
......
<HTML><HEAD><TITLE>Climacs, a modern version of the Emacs editor</TITLE></HEAD>
<HTML lang=en>
<HEAD><TITLE>Climacs, a modern version of the Emacs editor</TITLE></HEAD>
<BODY>
<p><a href="climacs.html">Version française.</a></p>
......@@ -11,33 +12,33 @@
problems today. :</p>
<ul>
<li><p>Emacs Lisp is a language that was specially designed in order to
<li>Emacs Lisp is a language that was specially designed in order to
implement Emacs. Since the design of GNU Emacs and of Emacs Lisp,
Common Lisp has been standardized, and gives both better
performance than that of Emacs Lisp (because Emacs Lisp is
implemented as an interpreter written in C) and more sophisticated
functionalities (macros, CLOS, etc). The natural choice for
implementing Emacs today is thus Common Lisp.</p></li>
implementing Emacs today is thus Common Lisp.</li>
<li><p>GNU Emacs was designed before the existence of the Unicode
<li>GNU Emacs was designed before the existence of the Unicode
standard. Unfortunately, the internal representation of a buffer
does not allow the representation of all Unicode characters in a
compact way. An internal representation allowing both all of
Unicode and a compact representation for the ISO-latin-1 subset is
desirable.</p></li>
desirable.</li>
<li><p>Twenty years ago, graphic user interfaces practically did not
<li>Twenty years ago, graphic user interfaces practically did not
exist. GNU Emacs was designed for a text-only terminal. Today
better modes of interaction exist. In particular, with CLIM
(Common LIsp Interface Manager) it is both possible and desirable
to have an interface based on the concept of "presentation types".</p></li>
to have an interface based on the concept of "presentation types".</li>
<li><p>Because of the limited power of computers at the time, GNU Emacs
<li>Because of the limited power of computers at the time, GNU Emacs
uses a certain number of approximations in order to analyze the
contents of a buffer, in particular when that contents is the text
of a program. These approximations are no longer necessary, and
with current technology, it is possible to maintain a complete
syntactic analysis of the buffer text. </p></li>
syntactic analysis of the buffer text. </li>
</ul>
......
......@@ -414,6 +414,19 @@
(display-parse-tree items syntax pane))
(display-parse-tree </a> syntax pane)))
;;;;;;;;;;;;;;; br element
(defclass br-element (inline-element)
((<br> :initarg :<br>)))
(define-start-tag <br> "br")
(add-html-rule (br-element -> (<br>) :<br> <br>))
(defmethod display-parse-tree ((entity br-element) (syntax html-syntax) pane)
(with-slots (<br>) entity
(display-parse-tree <br> syntax pane)))
;;;;;;;;;;;;;;; p element
(defclass <p> (html-tag)
......@@ -539,6 +552,19 @@
(display-parse-tree items syntax pane)
(display-parse-tree </ul> syntax pane)))
;;;;;;;;;;;;;;; hr element
(defclass hr-element (block-level-element)
((<hr> :initarg :<hr>)))
(define-start-tag <hr> "hr")
(add-html-rule (hr-element -> (<hr>) :<hr> <hr>))
(defmethod display-parse-tree ((entity hr-element) (syntax html-syntax) pane)
(with-slots (<hr>) entity
(display-parse-tree <hr> syntax pane)))
;;;;;;;;;;;;;;; body element
(defclass body-item (html-nonterminal)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment