2014-05-21 00:28:29 -04:00
|
|
|
Language
|
|
|
|
========
|
|
|
|
|
|
|
|
The language provided by picrin.
|
|
|
|
|
|
|
|
Libraries
|
|
|
|
---------
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(scheme base)``
|
|
|
|
- ``(scheme write)``
|
|
|
|
- ``(scheme cxr)``
|
|
|
|
- ``(scheme file)``
|
|
|
|
- ``(scheme inexact)``
|
|
|
|
- ``(scheme time)``
|
|
|
|
- ``(scheme process-context)``
|
|
|
|
- ``(scheme load)``
|
|
|
|
- ``(scheme lazy)``
|
|
|
|
- ``(picrin macro)``
|
|
|
|
|
|
|
|
- ``define-macro``
|
|
|
|
- ``gensym``
|
|
|
|
- ``macroexpand``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
Old-fashioned macro.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``make-syntactic-closure``
|
|
|
|
- ``identifier?``
|
|
|
|
- ``identifier=?``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
Syntactic closures.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``er-macro-transformer``
|
|
|
|
- ``ir-macro-transformer``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
Explicit renaming macro family.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(picrin regexp)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(regexp? obj)``
|
|
|
|
- ``(regexp ptrn [flags])``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
Compiles pattern string into a regexp object. A string ``flags`` may contain any of #\g, #\i, #\m.
|
2014-05-21 00:28:29 -04:00
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(regexp-match re input)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
Returns two values: a list of match strings, and a list of match indeces.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(regexp-replace re input txt)``
|
|
|
|
- ``(regexp-split re input)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(picrin control)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(reset h)``
|
|
|
|
- ``(shift k)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
Delimited control operators.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(picrin user)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
When you start the REPL, you are dropped into here.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(srfi 1)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
List manipulation library.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(srfi 26)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
Cut/cute macros.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(srfi 95)``
|
2014-05-21 00:28:29 -04:00
|
|
|
|
|
|
|
Sorting and Marging.
|
|
|
|
|
|
|
|
The REPL
|
|
|
|
--------
|
|
|
|
|
|
|
|
At the REPL start-up time, some usuful built-in libraries listed below will be automatically imported.
|
|
|
|
|
2014-05-21 01:00:29 -04:00
|
|
|
- ``(scheme base)``
|
|
|
|
- ``(scheme load)``
|
|
|
|
- ``(scheme process-context)``
|
|
|
|
- ``(scheme write)``
|
|
|
|
- ``(scheme file)``
|
|
|
|
- ``(scheme inexact)``
|
|
|
|
- ``(scheme cxr)``
|
|
|
|
- ``(scheme lazy)``
|
|
|
|
- ``(scheme time)``
|