Skip to content

Commit

Permalink
Merge pull request #12 from howardpen9/howard-patch-6--Optimized-Term…
Browse files Browse the repository at this point in the history
…inal-Log

Update
  • Loading branch information
howardpen9 authored Sep 27, 2023
2 parents 0c711fd + d49e627 commit 8f75a9f
Show file tree
Hide file tree
Showing 66 changed files with 422 additions and 385 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Original goal is followed [Tact Compiler Changelog](https://github.com/tact-lang/tact/tree/main), and keep this project in sync. Enjoy! ❤️❤️❤️

## [0.3.0] - 2023-09-27

### Added

- Emoji support in terminal log. (📝, 🔍, 📤)

### Changed

- Optimized `src/routes/(examples)/06-unbounded-arrays/content.md` text and add the callout blocks.

## [0.2.0] - 2023-09-08

### Added
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
- [Changelog](/CHANGELOG.md)
- [Tact TG Group](https://t.me/tactlang)
- [🔍 Changelog](/CHANGELOG.md)
- [🫂 TG Group](https://t.me/tactlang)

## Developing

### About Tact Source Code

1. Tact code is under the `src` directory. The `src` directory contains the following files: `src/routes/(examples)` - The source code for the examples.
2. The terminal output is located in `src/routes/(examples)/+layout.svelte` file.

Once you've run `npm install` start a development server:

```bash
Expand Down
16 changes: 8 additions & 8 deletions docs/01-a-simple-counter.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -113,7 +113,7 @@

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -122,10 +122,10 @@
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 5],
data,
form: null,
Expand Down
16 changes: 8 additions & 8 deletions docs/01-hello-world.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -121,7 +121,7 @@ <h2 id="receiving-messages">Receiving messages</h2>

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -130,10 +130,10 @@ <h2 id="receiving-messages">Receiving messages</h2>
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 6],
data,
form: null,
Expand Down
16 changes: 8 additions & 8 deletions docs/01-the-deployable-trait.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -128,7 +128,7 @@ <h2 id="a-simple-interaction">A simple interaction</h2>

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -137,10 +137,10 @@ <h2 id="a-simple-interaction">A simple interaction</h2>
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 7],
data,
form: null,
Expand Down
16 changes: 8 additions & 8 deletions docs/02-addresses.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -162,7 +162,7 @@

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -171,10 +171,10 @@
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 8],
data,
form: null,
Expand Down
16 changes: 8 additions & 8 deletions docs/02-bools.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -161,7 +161,7 @@ <h2 id="state-costs">State costs</h2>

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -170,10 +170,10 @@ <h2 id="state-costs">State costs</h2>
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 9],
data,
form: null,
Expand Down
16 changes: 8 additions & 8 deletions docs/02-constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -143,7 +143,7 @@ <h2 id="state-costs">State costs</h2>

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -152,10 +152,10 @@ <h2 id="state-costs">State costs</h2>
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 10],
data,
form: null,
Expand Down
16 changes: 8 additions & 8 deletions docs/02-integer-ops.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -150,7 +150,7 @@

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -159,10 +159,10 @@
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 11],
data,
form: null,
Expand Down
16 changes: 8 additions & 8 deletions docs/02-integers.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<meta http-equiv="content-security-policy" content="">
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
<link rel="modulepreload" href="./_app/immutable/entry/start.add7d32d.js">
<link rel="modulepreload" href="./_app/immutable/entry/start.47703ae1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c455cee.js">
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.b4a3f239.js">
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.2e78edbc.js">
<link rel="modulepreload" href="./_app/immutable/entry/app.7cfde2f3.js">
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.322916d1.js">
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.04b535d2.js">
<link rel="modulepreload" href="./_app/immutable/chunks/store.d3ab02ad.js">
<link rel="modulepreload" href="./_app/immutable/chunks/examples.2096c2f1.js">
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
Expand Down Expand Up @@ -150,7 +150,7 @@ <h2 id="decimal-point-with-integers">Decimal point with integers</h2>

<script>
{
__sveltekit_1r1y7un = {
__sveltekit_fgun5i = {
env: {},
base: new URL(".", location).pathname.slice(0, -1),
element: document.currentScript.parentElement
Expand All @@ -159,10 +159,10 @@ <h2 id="decimal-point-with-integers">Decimal point with integers</h2>
const data = [null,null,null];

Promise.all([
import("./_app/immutable/entry/start.add7d32d.js"),
import("./_app/immutable/entry/app.2e78edbc.js")
import("./_app/immutable/entry/start.47703ae1.js"),
import("./_app/immutable/entry/app.7cfde2f3.js")
]).then(([kit, app]) => {
kit.start(app, __sveltekit_1r1y7un.element, {
kit.start(app, __sveltekit_fgun5i.element, {
node_ids: [0, 2, 12],
data,
form: null,
Expand Down
Loading

0 comments on commit 8f75a9f

Please sign in to comment.