Browse Source

xhtml self check with new mad man check

Namdak Tonpa 5 years ago
parent
commit
e20d01dd5c
29 changed files with 306 additions and 792 deletions
  1. 1 1
      include/mad.hrl
  2. 44 96
      index.html
  3. BIN
      mad
  4. 11 39
      man/mad.htm
  5. 10 28
      man/mad_app.htm
  6. 10 28
      man/mad_compile.htm
  7. 10 28
      man/mad_cubical.htm
  8. 10 28
      man/mad_dtl.htm
  9. 10 28
      man/mad_erl.htm
  10. 10 28
      man/mad_escript.htm
  11. 10 28
      man/mad_eunit.htm
  12. 10 28
      man/mad_git.htm
  13. 10 28
      man/mad_hooks.htm
  14. 10 28
      man/mad_leex.htm
  15. 10 33
      man/mad_local.htm
  16. 10 28
      man/mad_man.htm
  17. 10 28
      man/mad_none.htm
  18. 10 28
      man/mad_peg.htm
  19. 10 28
      man/mad_port.htm
  20. 10 28
      man/mad_release.htm
  21. 10 28
      man/mad_repl.htm
  22. 10 28
      man/mad_run.htm
  23. 10 28
      man/mad_script.htm
  24. 10 28
      man/mad_static.htm
  25. 10 28
      man/mad_systools.htm
  26. 10 28
      man/mad_utils.htm
  27. 10 28
      man/mad_yecc.htm
  28. 2 2
      src/mad.erl
  29. 18 5
      src/mad_man.erl

+ 1 - 1
include/mad.hrl

@@ -1 +1 @@
--define(VERSION,"5.4-19-ga7ff936").
+-define(VERSION,"5.4-20-gc72dacc").

+ 44 - 96
index.html

@@ -1,28 +1,10 @@
-<html>
-
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>MAD</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-
-<body>
-
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space' style="background:#ededed;">MAD</a>
-</nav>
-
-<header>
-    <a href="https://github.com/synrc/mad"><img src="https://synrc.space/images/Synrc Neo.svg?v=1"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>MAD</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space" style="background:#ededed;">MAD</a>
+</nav><header>
+    <a href="https://github.com/synrc/mad"><img src="https://synrc.space/images/Synrc Neo.svg?v=1" /></a>
     <h1>MAD</h1>
-</header>
-
-<aside>
+</header><aside>
     <article>
         <section>
             <h3>SYNOPSIS</h3>
@@ -31,28 +13,27 @@
         </section>
 
         <section>
-            <a name=install><h3>INSTALL</h3></a>
+            <a name="install"></a><h3>INSTALL</h3>
             <div>Place MAD binary into <b>$PATH</b> or <b>/usr/local/bin</b>. E.g. using curl:
         <figure>
         <code>
  $ curl -fsSL \
    https://git.io/fpYm4 \
-   > mad && chmod +x mad \
-   && sudo cp mad /usr/local/bin
+   > mad &#38;&#38; chmod +x mad \
+   &#38;&#38; sudo cp mad /usr/local/bin
         </code>
         </figure>
             <div>
-                APR 2018 &copy; <a href="https://github.com/5HT">Namdak Tonpa</a> ISC<br>
+                APR 2018 © <a href="https://github.com/5HT">Namdak Tonpa</a> ISC<br />
                 VER 5.4 4.11 4.10
             </div>
 
-        </section>
+        </div></section>
     </article>
-</aside>
-<main>
+</aside><main>
     <section>
 
-        <a name=docs><h3>HELP</h3></a>
+        <a name="docs"></a><h3>HELP</h3>
         <p> MAD accepts a list of words. This list of words contains special words,
             delimiters or commands.
             Words between commands are arguments for the nearest command from left.
@@ -65,16 +46,13 @@
    command = app [web|mqtt] <name> | deps | clean | compile | strip
            | bundle [beam|script] <name> | man | get <repo> | up [name]
            | start | stop | attach | repl | static <min>
-        </code></figure>
+        </min></repo></name></name></code></figure>
         <div>
-        <ul>
-            <li><b><a href="man/mad.htm">mad</a></b> &mdash; MAD Main Module</li>
-            <li><b><a href="man/mad_local.htm">mad_local</a></b> &mdash; MAD POSIX Profile</li>
-        </ul>
+        <ul><li><b><a href="man/mad.htm">mad</a></b> — MAD Main Module</li><li><b><a href="man/mad_local.htm">mad_local</a></b> — MAD POSIX Profile</li></ul>
         </div>
     </section>
     <section>
-        <a name=app><h3>APP</h3></a>
+        <a name="app"></a><h3>APP</h3>
         <p>Create predefined sample application.
            MAD has built-in two sample applications: <b>web</b> and <b>mqtt</b>. </p>
         <figure><code>
@@ -94,13 +72,11 @@
  OK
         </code></figure>
         <div>
-        <ul>
-            <li><b><a href="man/mad_static.htm">mad_static</a></b> &mdash; MAD Static<div class=desk>: SKELETONS, MINIFIER</div></li>
-        </ul>
+        <ul><li><b><a href="man/mad_static.htm">mad_static</a></b> — MAD Static<div class="desk">: SKELETONS, MINIFIER</div></li></ul>
         </div>
     </section>
     <section>
-        <a name=deps><h3>DEPS</h3></a>
+        <a name="deps"></a><h3>DEPS</h3>
         <div>
         <figure><code>
  $ cd sample
@@ -134,45 +110,44 @@
  OK
         </code></figure>
         </div>
-        <a name=get><h3>GET</h3></a>
+        <a name="get"></a><h3>GET</h3>
         <figure><code>
  $ mad get kvx
  ==> dependency: "https://github.com/synrc/kvx" tag: []
  OK
         </code></figure>
-        <a name=up><h3>UP</h3></a>
+        <a name="up"></a><h3>UP</h3>
         <figure><code>
  $ mad up
  OK
         </code></figure>
         <div>
-        <ul>
-            <li><b><a href="man/mad_git.htm">mad_git</a></b> &mdash; MAD Git</div></li>
-        </ul>
-        </div>
+        <ul><li><b><a href="man/mad_git.htm">mad_git</a></b> — MAD Git</li></ul></div>
+        
+        
     </section>
     <section>
-        <a name=clean><h3>CLEAN</h3></a>
+        <a name="clean"></a><h3>CLEAN</h3>
         <div>
         <figure><code>
  $ mad clean
  OK
         </code></figure>
         </div>
-        <a name=start><h3>START</h3></a>
+        <a name="start"></a><h3>START</h3>
         <figure><code>
  $ mad start
  Scripting: "/Users/maxim/depot/synrc/mad/mad"
  OK
         </code></figure>
-        <a name=attach><h3>ATTACH</h3></a>
+        <a name="attach"></a><h3>ATTACH</h3>
         <figure><code>
  $ $(mad attach)
  Attaching to . (^D to exit)
 
  1>
         </code></figure>
-        <a name=stop><h3>STOP</h3></a>
+        <a name="stop"></a><h3>STOP</h3>
         <figure><code>
  $ eval $(mad stop)
  Attaching to . (^D to exit)
@@ -180,44 +155,33 @@
  [EOF]
         </code></figure>
         <div>
-        <ul>
-            <li><b><a href="man/mad_run.htm">mad_run</a></b> &mdash; MAD Runner</div></li>
-        </ul>
-        </div>
+        <ul><li><b><a href="man/mad_run.htm">mad_run</a></b> — MAD Runner</li></ul></div>
+        
+        
     </section>
     <section>
-        <a name=compile><h3>COMPILE</h3></a>
+        <a name="compile"></a><h3>COMPILE</h3>
         <figure><code>
  $ mad compile
  Writing /apps/sample/ebin/sample.app
  OK
         </code></figure>
         <div>
-        <ul>
-            <li><b><a href="man/mad_compile.htm">mad_compile</a></b> &mdash; MAD Compiler</li>
-            <li><b><a href="man/mad_app.htm">mad_app</a></b> &mdash; OTP Application files</li>
-            <li><b><a href="man/mad_cubical.htm">mad_cubical</a></b> &mdash; cubicaltt files</li>
-            <li><b><a href="man/mad_dtl.htm">mad_dtl</a></b> &mdash; DTL files</li>
-            <li><b><a href="man/mad_erl.htm">mad_erl</a></b> &mdash; Erlang source files</li>
-            <li><b><a href="man/mad_leex.htm">mad_leex</a></b> &mdash; Erlang leex files</li>
-            <li><b><a href="man/mad_yecc.htm">mad_yecc</a></b> &mdash; Erlang yecc files</li>
-            <li><b><a href="man/mad_port.htm">mad_port</a></b> &mdash; C/C++ files</li>
-            <li><b><a href="man/mad_script.htm">mad_script</a></b> &mdash; .script files</li>
-        </ul>
+        <ul><li><b><a href="man/mad_compile.htm">mad_compile</a></b> — MAD Compiler</li><li><b><a href="man/mad_app.htm">mad_app</a></b> — OTP Application files</li><li><b><a href="man/mad_cubical.htm">mad_cubical</a></b> — cubicaltt files</li><li><b><a href="man/mad_dtl.htm">mad_dtl</a></b> — DTL files</li><li><b><a href="man/mad_erl.htm">mad_erl</a></b> — Erlang source files</li><li><b><a href="man/mad_leex.htm">mad_leex</a></b> — Erlang leex files</li><li><b><a href="man/mad_yecc.htm">mad_yecc</a></b> — Erlang yecc files</li><li><b><a href="man/mad_port.htm">mad_port</a></b> — C/C++ files</li><li><b><a href="man/mad_script.htm">mad_script</a></b> — .script files</li></ul>
         </div>
     </section>
     <section>
-        <a name=plan><h3>PLAN</h3></a>
+        <a name="plan"></a><h3>PLAN</h3>
         <figure><code>
  $ mad plan
  OK
         </code></figure>
-        <a name=strip><h3>STRIP</h3></a>
+        <a name="strip"></a><h3>STRIP</h3>
         <figure><code>
  $ mad strip
  OK
         </code></figure>
-        <a name=bundle><h3>BUNDLE</h3></a>
+        <a name="bundle"></a><h3>BUNDLE</h3>
         <figure><code>
  $ mad bundle script sample
  OK
@@ -227,41 +191,25 @@
  OK
         </code></figure>
         <div>
-        <ul>
-            <li><b><a href="man/mad_release.htm">mad_release</a></b> &mdash; MAD Bundler</li>
-            <li><b><a href="man/mad_escript.htm">mad_escript</a></b> &mdash; MAD escript bundler</li>
-            <li><b><a href="man/mad_systools.htm">mad_systools</a></b> &mdash; MAD BEAM release bundler</li>
-        </ul>
+        <ul><li><b><a href="man/mad_release.htm">mad_release</a></b> — MAD Bundler</li><li><b><a href="man/mad_escript.htm">mad_escript</a></b> — MAD escript bundler</li><li><b><a href="man/mad_systools.htm">mad_systools</a></b> — MAD BEAM release bundler</li></ul>
         </div>
     </section>
     <section>
-        <a name=repl><h3>REPL</h3></a>
+        <a name="repl"></a><h3>REPL</h3>
         <figure><code>
  $ mad repl
  $ open http://127.0.0.1:8001/app/index.htm
         </code></figure>
         <div>
-        <ul>
-            <li><b><a href="man/mad_repl.htm">mad_repl</a></b> &mdash; MAD REPL</div></li>
-        </ul>
-        </div>
+        <ul><li><b><a href="man/mad_repl.htm">mad_repl</a></b> — MAD REPL</li></ul></div>
+        
+        
     </section>
     <section>
-        <a name=articles><h3>ARTICLES</h3></a>
+        <a name="articles"></a><h3>ARTICLES</h3>
         <div>
-        <ul>
-           <li><a href="https://n2o.space/articles/n2o.htm">N2O: PROTOCOL</a></li>
-           <li><a href="https://n2o.space/articles/web.htm">N2O: SERVER</a></li>
-           <li><a href="https://n2o.space/articles/history.htm">N2O: HISTORY</a></li>
-        </ul></div>
+        <ul><li><a href="https://n2o.space/articles/n2o.htm">N2O: PROTOCOL</a></li><li><a href="https://n2o.space/articles/web.htm">N2O: SERVER</a></li><li><a href="https://n2o.space/articles/history.htm">N2O: HISTORY</a></li></ul></div>
     </section>
-</main>
-
-<footer>
+</main><footer>
     Made with <span class="heart">❤</span> to N2O
-</footer>
-
-</body>
-</html>
-
-
+</footer></body></html>

BIN
mad


+ 11 - 39
man/mad.htm

@@ -1,41 +1,18 @@
-<html>
-
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>MAD</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-
-<body>
-
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">MAD</a>
-</nav>
-
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>MAD</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">MAD</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>MAD</h1>
-</header>
-
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
 
    <p>MAD module provides user level interface for console commands.</p>
 
-        <p><blockquote><p><ul>
-            <li><b><a href="#main">main/1</a></b> &mdash; IO parameters.</li>
-            <li><b><a href="#help">help/0</a></b> &mdash; Display help.</li>
-            <li><b><a href="#profile">profile/0</a></b> &mdash; Current MAD profile.</li>
-            <li><b><a href="#atomize">atomize/1</a></b> &mdash; Commands mappings.</li>
-        </ul></p></blockquote></p>
+        <p></p><blockquote><p></p><ul><li><b><a href="#main">main/1</a></b> — IO parameters.</li><li><b><a href="#help">help/0</a></b> — Display help.</li><li><b><a href="#profile">profile/0</a></b> — Current MAD profile.</li><li><b><a href="#atomize">atomize/1</a></b> — Commands mappings.</li></ul></blockquote>
 
     </section>
     <section>
@@ -110,11 +87,6 @@
 </p>
 
     </section>
-</main>
-
-<footer>
-    2005&mdash;2018 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2018 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_app.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>APP</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">APP</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>APP</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">APP</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>APP</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_compile.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>COMPILE</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">COMPILE</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>COMPILE</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">COMPILE</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>COMPILE</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_cubical.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>CUBICAL</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">CUBICAL</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>CUBICAL</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">CUBICAL</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>CUBICAL</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_dtl.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>DTL</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">DTL</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>DTL</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">DTL</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>DTL</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_erl.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>ERL</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">ERL</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>ERL</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">ERL</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>ERL</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_escript.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>ESCRIPT</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">ESCRIPT</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>ESCRIPT</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">ESCRIPT</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>ESCRIPT</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_eunit.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>EUNIT</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">EUNIT</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>EUNIT</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">EUNIT</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>EUNIT</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_git.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>GIT</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">GIT</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>GIT</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">GIT</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>GIT</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_hooks.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>HOOKS</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">HOOKS</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>HOOKS</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">HOOKS</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>HOOKS</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_leex.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>LEEX</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">LEEX</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>LEEX</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">LEEX</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>LEEX</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 33
man/mad_local.htm

@@ -1,29 +1,11 @@
-<html>
-
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>LOCAL</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-
-<body>
-
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad,n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">LOCAL</a>
-</nav>
-
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>LOCAL</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad,n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">LOCAL</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>LOCAL</h1>
-</header>
-
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -74,11 +56,6 @@
 </p>
 
     </section>
-</main>
-
-<footer>
-    2005&mdash;2018 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2018 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_man.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>MAN</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">MAN</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>MAN</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">MAN</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>MAN</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_none.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>NONE</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">NONE</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>NONE</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">NONE</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>NONE</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_peg.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>PEG</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">PEG</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>PEG</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">PEG</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>PEG</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_port.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>PORT</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">PORT</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>PORT</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">PORT</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>PORT</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_release.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>RELEASE</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">RELEASE</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>RELEASE</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">RELEASE</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>RELEASE</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_repl.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>REPL</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">REPL</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>REPL</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">REPL</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>REPL</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_run.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>RUN</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">RUN</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>RUN</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">RUN</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>RUN</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_script.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>SCRIPT</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">SCRIPT</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>SCRIPT</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">SCRIPT</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>SCRIPT</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_static.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>STATIC</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">STATIC</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>STATIC</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">STATIC</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>STATIC</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_systools.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>SYSTOOLS</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">SYSTOOLS</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>SYSTOOLS</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">SYSTOOLS</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>SYSTOOLS</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_utils.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>UTILS</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">UTILS</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>UTILS</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">UTILS</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>UTILS</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 10 - 28
man/mad_yecc.htm

@@ -1,24 +1,11 @@
-<html>
-<head>
-    <meta charset="utf-8" />
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="description" content="" />
-    <meta name="author" content="Maxim Sokhatsky" />
-    <title>YECC</title>
-    <link rel="stylesheet" href="https://synrc.space/synrc.css" />
-</head>
-<body>
-<nav>
-    <a href='https://n2o.dev'>DEV</a>
-    <a href='https://mad.n2o.space'>MAD</a>
-    <a href='#' style="background:#ededed;">YECC</a>
-</nav>
-<header>
-    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg"></a>
+<html><head><meta charset="utf-8" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" /><title>YECC</title><link rel="stylesheet" href="https://synrc.space/synrc.css" /></head><body><nav>
+    <a href="https://n2o.dev">DEV</a>
+    <a href="https://mad.n2o.space">MAD</a>
+    <a href="#" style="background:#ededed;">YECC</a>
+</nav><header>
+    <a href="../index.html"><img src="https://n2o.space/img/Synrc Neo.svg" /></a>
     <h1>YECC</h1>
-</header>
-<main>
+</header><main>
     <section>
 
 <h3>INTRO</h3>
@@ -30,11 +17,6 @@
 MAN_MODULES
 </p>
     </section>
-</main>
-
-<footer>
-    2005&mdash;2019 &copy; Synrc Research Center
-</footer>
-
-</body>
-</html>
+</main><footer>
+    2005—2019 © Synrc Research Center
+</footer></body></html>

+ 2 - 2
src/mad.erl

@@ -72,6 +72,6 @@ help()            -> info("MAD Manage Dependencies ~s~n",[?VERSION]),
                      info("    invoke = mad | mad list~n"),
                      info("      list = []  | command [options] list ~n"),
                      info("   command = app [web|mqtt] <name> | deps | clean | compile | strip~n"),
-                     info("           | bundle [beam|script] <name> | man | get <repo> | up [name] ~n"),
-                     info("           | start | stop | attach | repl | static <min> ~n"),
+                     info("           | bundle [beam|script] <name> | man <html|check|groff> | repl~n"),
+                     info("           | start | stop | attach | static <min> | get <repo> | up [name] ~n"),
                      return(false).

+ 18 - 5
src/mad_man.erl

@@ -2,18 +2,29 @@
 -doc("Generate n2o.dev man pages.").
 -compile(export_all).
 
-man(_Params) ->
+man(["html"]) ->
    Temp = template(),
    [ generate(filename:basename(I,".erl"),Temp)
     || I <- filelib:wildcard("*/src/**/*.erl")
          ++ filelib:wildcard("src/**/*.erl") ],
-   false.
+   {ok,man};
+
+man(["check"]) ->
+   case lists:all(fun(X) -> element(1,X) == ok end, [ check(I)
+    || I <- filelib:wildcard("man/**/*.htm")
+         ++ filelib:wildcard("*.html") ]) of
+        true -> {ok,check};
+        false -> {error,check} end.
 
 write(Gen,Bin) -> io:format("Generated: ~p~n",[Gen]), file:write_file(Gen,Bin).
 replace(S,A,B) -> re:replace(S,A,B,[global,{return,list}]).
 trim(A) -> re:replace(A, "(^\\s+)|(\\s+$)", "", [global,{return,list}]).
 fix([Prefix]) -> Prefix;
 fix([_Prefix,Name|_Rest]) -> Name.
+check(Filename) ->
+   try _ = xmerl_scan:file(Filename), {ok,Filename} catch E:R ->
+   io:format("man: ~p error: ~p~n",[Filename,{E,R}]), {error,Filename} end.
+
 generate(Lower,Temp) ->
     Name = string:to_upper(Lower),
     Tem2 = replace(Temp,"MAN_TOOL",hd(string:tokens(Name,"_"))),
@@ -23,9 +34,11 @@ generate(Lower,Temp) ->
     Gen = lists:concat(["man/",Lower,".htm"]),
     case file:read_file_info(Gen) of
          {error,_} -> write(Gen, Bin);
-         {ok,A} -> case element(2,A) > size(Bin) of
-                        true -> skip;
-                        false -> write(Gen,Bin) end end.
+         {ok,A} -> io:format("man: file ~p already exists.~n",[Gen])
+                  % case element(2,A) > size(Bin) of
+                  %      true -> skip;
+                  %      false -> write(Gen,Bin) end
+                  end.
 
 template() ->
     mad_repl:load(),