The water Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The water Reference Manual

This is the water Reference Manual, version 0.1.0, generated automatically by Declt version 2.4 patchlevel 1 "Will Decker" on Fri May 24 10:03:14 2019 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Water

An ES6-compatible class definition for ParenScript.

Using

This library exports macros which can be used to create an es6-compatible class.

(push #p"./" asdf:*central-registry*)

(ql:quickload :parenscript)
(ql:quickload :cl-who)
(ql:quickload :hunchentoot)
(ql:quickload :water)

(defpackage :water-test
  (:use :cl :ps :cl-who :water))
(in-package :water-test)

(hunchentoot:define-easy-handler (index-page :uri "/") ()
  (with-html-output-to-string (s)
    (:html
     (:head
      (:script :crossorigin t :src "https://unpkg.com/react@16/umd/react.development.js")
      (:script :crossorigin t :src "https://unpkg.com/react-dom@16/umd/react-dom.development.js"))
     (:body
      (:div :id "demo")
      (:script
       (ps-to-stream s
         (defwclass *demo
           (wsuperlst (@ *react *component) arguments)
           (defwmethod render ()
             ((@ *react create-element) "p" () (list "Hello, World!"))))
         (chain *react-d-o-m (render
                              (chain *react (create-element *demo () (list)))
                              (chain document (get-element-by-id "demo"))))))))))

(hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 6789))

API

I guess library's code is small enough to be self-documenting. Although i added some docstrings to all macros i defined. You can find them in the water.lisp file.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 water

Author

Nickolay (handicraftsman) Ilyushin <nickolay02@inbox.ru>

License

MIT

Description

An ES6-compatible class definition for Parenscript

Version

0.1.0

Dependency

parenscript

Source

water.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 water.asd

Location

water.asd

Systems

water (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 water/packages.lisp

Parent

water (system)

Location

packages.lisp

Packages

water


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 water/water.lisp

Dependency

packages.lisp (file)

Parent

water (system)

Location

water.lisp


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 water

Source

packages.lisp (file)

Use List

Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   W  
Index Entry  Section

F
File, Lisp, water.asd: The water<dot>asd file
File, Lisp, water/packages.lisp: The water/packages<dot>lisp file
File, Lisp, water/water.lisp: The water/water<dot>lisp file

L
Lisp File, water.asd: The water<dot>asd file
Lisp File, water/packages.lisp: The water/packages<dot>lisp file
Lisp File, water/water.lisp: The water/water<dot>lisp file

W
water.asd: The water<dot>asd file
water/packages.lisp: The water/packages<dot>lisp file
water/water.lisp: The water/water<dot>lisp file

Jump to:   F   L   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions


Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables


Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   P   S   W  
Index Entry  Section

P
Package, water: The water package

S
System, water: The water system

W
water: The water system
water: The water package

Jump to:   P   S   W