Conversation
pyAndr3w
suggested changes
Dec 11, 2025
Contributor
pyAndr3w
left a comment
There was a problem hiding this comment.
good rework after discussion in DM!
Comment on lines
9
to
14
| The Fift stack can contain values of the following types: | ||
|
|
||
| | | | | ||
| | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | `Integer` | A TVM signed 257-bit integer. | | ||
| | `Cell` | A [TVM cell](/foundations/serialization/cells) for persistent data storage on TON Blockchain. A cell consists of up to `1023` data bits and up to `4` references to other cells. | |
Contributor
There was a problem hiding this comment.
can we add column headers Type | Description, like in tvm/overview.mdx?
languages/fift/types.mdx
Outdated
| | `Slice` | A TVM slice is a read-only view of a TVM cell that allows sequential access to the cell's data and references. A cell can be converted into a slice, extracting stored bits and references without modifying the original cell. | | ||
| | `Builder` | A TVM builder is used to construct a cell by adding data and cell references. | | ||
| | `Null` | The TVM Null type has exactly one value `null`. In Fift, `null` is mostly used to initialize `Box`'es, hashmaps and lists. Usually denoted by `⊥`. | | ||
| | `Tuple` | A tuple is an ordered collection of values of any of the Fift types in this list, where each value is not necessarily of the same type. Tuples can be used to represent values of arbitrary algebraic data types and Lisp-style lists. | |
Contributor
There was a problem hiding this comment.
maybe keep a short description (for Tuple) in the table and move algebraic types and Lisp list details into text below.
languages/fift/types.mdx
Outdated
| | `Null` | The TVM Null type has exactly one value `null`. In Fift, `null` is mostly used to initialize `Box`'es, hashmaps and lists. Usually denoted by `⊥`. | | ||
| | `Tuple` | A tuple is an ordered collection of values of any of the Fift types in this list, where each value is not necessarily of the same type. Tuples can be used to represent values of arbitrary algebraic data types and Lisp-style lists. | | ||
| | `Continuation` | A [TVM continuation](/tvm/continuations) employed for execution of [TVM code](/tvm/instructions). | | ||
| | `String` | An UTF-8 string. | |
languages/fift/types.mdx
Outdated
Comment on lines
43
to
45
| - Word list: A partially created list of word references, used for creating an execution token. See section for Blocks in the Control Flow page. See also Section [4.7](https://localhost:3000/languages/fift/whitepaper#4-7-creating-and-manipulating-word-lists) in the whitepaper for a list of words that create and manipulate word lists. | ||
| - Execution token: Fift code that can be executed and manipulated on the Fift stack. See section for Blocks in the Control Flow page for more details. | ||
| - Fift hashmap: A hashmap specific for Fift. These hashmaps are not represented as cells, contrary to TVM hashmaps. Refer to Fift hashmaps page for more details. As a comparison with TVM hashmaps, refer to Section [6.3](https://localhost:3000/languages/fift/whitepaper#6-3-dictionary-manipulation) in the whitepaper for a list of words that create and manipulate TVM hashmaps. |
Contributor
There was a problem hiding this comment.
please switch localhost links to relative ones
and add link to /languages/fift/control#blocks
Contributor
Author
There was a problem hiding this comment.
Links issue addresses in issue #1554. Crosslinks cannot be solved in this PR, since other PRs need to be merged first.
languages/fift/types.mdx
Outdated
|
|
||
| - Word list: A partially created list of word references, used for creating an execution token. See section for Blocks in the Control Flow page. See also Section [4.7](https://localhost:3000/languages/fift/whitepaper#4-7-creating-and-manipulating-word-lists) in the whitepaper for a list of words that create and manipulate word lists. | ||
| - Execution token: Fift code that can be executed and manipulated on the Fift stack. See section for Blocks in the Control Flow page for more details. | ||
| - Fift hashmap: A hashmap specific for Fift. These hashmaps are not represented as cells, contrary to TVM hashmaps. Refer to Fift hashmaps page for more details. As a comparison with TVM hashmaps, refer to Section [6.3](https://localhost:3000/languages/fift/whitepaper#6-3-dictionary-manipulation) in the whitepaper for a list of words that create and manipulate TVM hashmaps. |
Contributor
There was a problem hiding this comment.
Refer to Fift hashmaps page for more details.
??
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1424.