Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/intro.rst @ 159:4ee0b1536ea6
Handle runs of dots in expressions (., .., ..., ...., ...)
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 08 May 2026 17:13:26 +0200 |
| parents | b38d10ab914a |
| children | 315cfe0a836f |
comparison
equal
deleted
inserted
replaced
| 158:f08d77b8cbf7 | 159:4ee0b1536ea6 |
|---|---|
| 110 .. literalinclude:: examples/algorithm-ford-fulkerson.pseudocode | 110 .. literalinclude:: examples/algorithm-ford-fulkerson.pseudocode |
| 111 :language: algpseudocode | 111 :language: algpseudocode |
| 112 :lines: 2- | 112 :lines: 2- |
| 113 | 113 |
| 114 This is Wikipedia's pseudocode of the *Edmonds–Karp Algorithm* | 114 This is Wikipedia's pseudocode of the *Edmonds–Karp Algorithm* |
| 115 (see https://en.wikipedia.org/wiki/Edmonds%E2%80%93Karp_algorithm): | 115 (see https://en.wikipedia.org/wiki/Edmonds%E2%80%93Karp_algorithm) |
| 116 with a custom lexer that skip all ``ENDxxx`` keywords: | |
| 116 | 117 |
| 117 .. literalinclude:: examples/algorithm-edmonds-karp.pseudocode | 118 .. literalinclude:: examples/algorithm-edmonds-karp.pseudocode |
| 118 :language: NoEndAlgPseudocode | 119 :language: NoEndAlgPseudocode |
| 119 :lines: 2- | 120 :lines: 2- |
| 120 | 121 |
