2025-03 Транслятор CLD генерит Контекст | CLD translator generates Context
This commit is contained in:
@@ -25,6 +25,32 @@
|
||||
<h1>News</h1>
|
||||
|
||||
<div class="news_item">
|
||||
<h2 class="news_item_title">
|
||||
<a href="cld_ctx-gen.html">CLD: Context generation</a>
|
||||
</h2>
|
||||
<p class="news_item_date">
|
||||
2025-03-11 00:00
|
||||
</p>
|
||||
<div class="news_item_contents">
|
||||
<p><img src="../../images/2025-03_redux-data-flow.jpg" alt="splash" /></p>
|
||||
<h1 id="contextgeneration">Context generation</h1>
|
||||
<p>In February I've updated the <strong>C</strong>ross-<strong>l</strong>anguage <strong>d</strong>ialect (CLD) translator to
|
||||
generate Context out of YML. The generated Contexts have already been
|
||||
used for the following projects:</p>
|
||||
<ul>
|
||||
<li>CLD (the CLD translator generated its own Context)</li>
|
||||
<li>LHA</li>
|
||||
<li>PSKOV</li>
|
||||
</ul>
|
||||
<p>I never really took time to explain what Context is, so here's
|
||||
a very short explanation: Context is very close to
|
||||
<a href="https://redux.js.org/introduction/getting-started#basic-example">Store in Redux</a>. I'm afraid this is not yet the time
|
||||
to explain Context in detail because I don't yet have a good. . .</p>
|
||||
</div>
|
||||
<div class="news_item_more">
|
||||
<a href="cld_ctx-gen.html">Continue reading</a>
|
||||
</div>
|
||||
</div><div class="news_item">
|
||||
<h2 class="news_item_title">
|
||||
<a href="psk-jvm-item.html">PSKOV 2 for JVM</a>
|
||||
</h2>
|
||||
@@ -218,28 +244,8 @@ gamejam of <a href="https://dtf.ru/games/2783053-nachni-igru-ocenka-videorolikov
|
||||
<div class="news_item_more">
|
||||
<a href="memory-gui.html">Continue reading</a>
|
||||
</div>
|
||||
</div><div class="news_item">
|
||||
<h2 class="news_item_title">
|
||||
<a href="memory-text-ui.html">"Memory" text UI</a>
|
||||
</h2>
|
||||
<p class="news_item_date">
|
||||
2024-06-14 00:00
|
||||
</p>
|
||||
<div class="news_item_contents">
|
||||
<h1 id="memorytextui">"Memory" text UI</h1>
|
||||
<p>In May I implemented text UI for "Memory" game in Python. And converted it to C++
|
||||
by the instrument under development.</p>
|
||||
<p>Game logic cycle implementation lead to the creation of a controller that manages
|
||||
context. Creating the controller in Python was straightforward. C++ version took
|
||||
some time, because the controller needs <a href="https://en.cppreference.com/w/cpp/utility/any">std::any</a>, which is part of C++17.
|
||||
The instrument under development is limited to C++11 in order to support OpenWrt.</p>
|
||||
<p>Here's how much code I wrote (in lines):. . .</p>
|
||||
</div>
|
||||
<div class="news_item_more">
|
||||
<a href="memory-text-ui.html">Continue reading</a>
|
||||
</div>
|
||||
</div>
|
||||
<p class="pagination_title">Page 1 of 8</p>
|
||||
<p class="pagination_title">Page 1 of 9</p>
|
||||
<p>
|
||||
<a href="index2.html">Older »</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user