2025-02 ПСКОВ 2 готов на 50% | PSKOV 2 is 50% ready
This commit is contained in:
@@ -25,6 +25,27 @@
|
||||
<h1>News</h1>
|
||||
|
||||
<div class="news_item">
|
||||
<h2 class="news_item_title">
|
||||
<a href="psk-jvm-item.html">PSKOV 2 for JVM</a>
|
||||
</h2>
|
||||
<p class="news_item_date">
|
||||
2025-02-11 00:00
|
||||
</p>
|
||||
<div class="news_item_contents">
|
||||
<p><img src="../../images/2025_psk-jvm-item.png" alt="splash" /></p>
|
||||
<h1 id="seperatepagesgeneration">Seperate pages' generation</h1>
|
||||
<p>In January I implemented half of the functionality of original
|
||||
PSKOV: generation of separate HTML pages from Markdown.</p>
|
||||
<p>Both PSKOV 1 and PSKOV 2 produce HTML files that look the same in web browsers.
|
||||
However, the contents of the generated HTML files differ because PSKOV 1 uses
|
||||
<a href="https://github.com/showdownjs/showdown">Showdown</a> to convert Markdown to HTML, whereas PSKOV 2 uses
|
||||
<a href="https://github.com/JetBrains/markdown">intellij-markdown</a>.</p>
|
||||
<p>Let's see how the generated HTML files compare. Suppose we have the following. . .</p>
|
||||
</div>
|
||||
<div class="news_item_more">
|
||||
<a href="psk-jvm-item.html">Continue reading</a>
|
||||
</div>
|
||||
</div><div class="news_item">
|
||||
<h2 class="news_item_title">
|
||||
<a href="year24.html">Results of the year 2024</a>
|
||||
</h2>
|
||||
@@ -217,30 +238,6 @@ The instrument under development is limited to C++11 in order to support OpenWrt
|
||||
<div class="news_item_more">
|
||||
<a href="memory-text-ui.html">Continue reading</a>
|
||||
</div>
|
||||
</div><div class="news_item">
|
||||
<h2 class="news_item_title">
|
||||
<a href="memory-logic.html">"Memory" game logic</a>
|
||||
</h2>
|
||||
<p class="news_item_date">
|
||||
2024-05-03 00:00
|
||||
</p>
|
||||
<div class="news_item_contents">
|
||||
<h1 id="memorygamelogic">"Memory" game logic</h1>
|
||||
<p>In April I implemented "Memory" game logic in Python as limited language model and successfully converted the code to C++ by the instrument under development.</p>
|
||||
<p>Limited language model assumes the following architecture of two parts:</p>
|
||||
<ol>
|
||||
<li>state context</li>
|
||||
<li>pure functions without side effects working only with the context</li>
|
||||
</ol>
|
||||
<p>Game logic state context in Python currently looks like this (<a href="https://git.opengamestudio.org/kornerr/research-portable-memory/src/commit/6fcd542daa6242c8c23dddb88d04cda74a730328/v3/memory_Context.h">C++</a>):</p>
|
||||
<p>```python
|
||||
class memory_Context:
|
||||
def <strong>init</strong>(self):
|
||||
self.hiddenItems = []. . .</p>
|
||||
</div>
|
||||
<div class="news_item_more">
|
||||
<a href="memory-logic.html">Continue reading</a>
|
||||
</div>
|
||||
</div>
|
||||
<p class="pagination_title">Page 1 of 8</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user