|
| 1 | +<!doctype html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta name="viewport" content="width=device-width,initial-scale=1" /> |
| 6 | + <title>Prefix Changelog</title> |
| 7 | + <link rel="icon" href="./icon.png" /> |
| 8 | + <style> |
| 9 | + @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap'); |
| 10 | + @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap'); |
| 11 | + body{background:#222;color:#99ddff;font-family:Open Sans, sans-serif;margin:0;padding:1rem} |
| 12 | + .container{max-width:1000px;margin:0 auto;text-align:justify;text-justify:inter-word} |
| 13 | + .container h1{ text-align:center; margin-top:0; } |
| 14 | + .container h2{ text-align:center } |
| 15 | + pre, code{background:#3c3c3c;color:inherit;font-family:Source Code Pro, monospace;padding:.25rem .5rem} |
| 16 | + img{max-width:100%} |
| 17 | + </style> |
| 18 | +</head> |
| 19 | +<body> |
| 20 | + <div class="container" id="content">Rendering changelog…</div> |
| 21 | + |
| 22 | + <!-- Markdown source is embedded below. marked.js will render it into #content. --> |
| 23 | + <script id="md" type="text/markdown"> |
| 24 | + |
| 25 | +# Change log |
| 26 | + |
| 27 | +The change log is a document recording what changed with every release of Prefix. |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## 0.5.0 |
| 32 | + |
| 33 | +### Backwards-incompatible features |
| 34 | + |
| 35 | +N/A |
| 36 | + |
| 37 | +### Backwards-compatible features |
| 38 | + |
| 39 | +Expand search paths to include `stdlib/` and `stdext/`. |
| 40 | + |
| 41 | +Add `SELF`. |
| 42 | + |
| 43 | +### Bugfixes |
| 44 | + |
| 45 | +Convert `MAP` to use a hash table for performance. |
| 46 | + |
| 47 | +--- |
| 48 | + |
| 49 | +## 0.4.1 |
| 50 | + |
| 51 | +### Backwards-incompatible features |
| 52 | + |
| 53 | +N/A |
| 54 | + |
| 55 | +### Backwards-compatible features |
| 56 | + |
| 57 | +N/A |
| 58 | + |
| 59 | +### Bugfixes |
| 60 | + |
| 61 | +Fix contradiction in specification regarding `FOR`. |
| 62 | + |
| 63 | +Ban `.` from identifiers. |
| 64 | + |
| 65 | +Make `TRY` catch `ParseError`. |
| 66 | + |
| 67 | +--- |
| 68 | + |
| 69 | +## 0.4.0 |
| 70 | + |
| 71 | +### Backwards-incompatible features |
| 72 | + |
| 73 | +N/A |
| 74 | + |
| 75 | +### Backwards-compatible features |
| 76 | + |
| 77 | +Add `NEQ` operator. |
| 78 | + |
| 79 | +Add `-private` mode. |
| 80 | + |
| 81 | +### Bugfixes |
| 82 | + |
| 83 | +N/A |
| 84 | + |
| 85 | +--- |
| 86 | + |
| 87 | +## 0.3.0 |
| 88 | + |
| 89 | +### Backwards-incompatible features |
| 90 | + |
| 91 | +Make `TNS` and `MAP` atomic. |
| 92 | + |
| 93 | +### Backwards-compatible features |
| 94 | + |
| 95 | +N/A |
| 96 | + |
| 97 | +### Bugfixes |
| 98 | + |
| 99 | +Fix `FUNC` handling in `SIGNATURE`. |
| 100 | + |
| 101 | +--- |
| 102 | + |
| 103 | +## 0.2.0 |
| 104 | + |
| 105 | +### Backwards-incompatible features |
| 106 | + |
| 107 | +N/A |
| 108 | + |
| 109 | +### Backwards-compatible features |
| 110 | + |
| 111 | +Add `FLT` infinities. |
| 112 | + |
| 113 | +Add `FLT` NaN. |
| 114 | + |
| 115 | +### Bugfixes |
| 116 | + |
| 117 | +N/A |
| 118 | + |
| 119 | +--- |
| 120 | + |
| 121 | +## 0.1.0 |
| 122 | + |
| 123 | +The initial release of Prefix, meaning there are no changes to record. |
| 124 | + |
| 125 | + </script> |
| 126 | + |
| 127 | + <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> |
| 128 | + <script> |
| 129 | + document.addEventListener('DOMContentLoaded', function(){ |
| 130 | + const md = document.getElementById('md').textContent; |
| 131 | + const rendered = marked.parse(md); |
| 132 | + const container = document.getElementById('content'); |
| 133 | + container.innerHTML = rendered; |
| 134 | + |
| 135 | + // Ensure predictable heading IDs so TOC fragment links work. |
| 136 | + // Slug function: lowercase, remove punctuation except digits/letters/spaces/-, |
| 137 | + // collapse spaces to hyphens. |
| 138 | + function slugify(text) { |
| 139 | + return text.trim().toLowerCase() |
| 140 | + .replace(/<[^>]+>/g, '') |
| 141 | + .replace(/[^a-z0-9\s-]/g, '') |
| 142 | + .replace(/\s+/g, '-'); |
| 143 | + } |
| 144 | + |
| 145 | + const headings = container.querySelectorAll('h1,h2,h3,h4,h5,h6'); |
| 146 | + headings.forEach(h => { |
| 147 | + if (!h.id || h.id.trim() === '') { |
| 148 | + h.id = slugify(h.textContent || h.innerText || ''); |
| 149 | + } |
| 150 | + }); |
| 151 | + }); |
| 152 | + </script> |
| 153 | +</body> |
| 154 | +</html> |
0 commit comments