aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-18 23:40:31 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-11-22 11:07:54 +0800
commit173bdb0df6ce338d2b6fff80877224a9cfdb3d68 (patch)
treec12144508289dd340509a0436d69c320f7ee2eba /docs
parentc3a6db725606f14183b3af1f4954f196857afe33 (diff)
downloaddexon-solidity-173bdb0df6ce338d2b6fff80877224a9cfdb3d68.tar
dexon-solidity-173bdb0df6ce338d2b6fff80877224a9cfdb3d68.tar.gz
dexon-solidity-173bdb0df6ce338d2b6fff80877224a9cfdb3d68.tar.bz2
dexon-solidity-173bdb0df6ce338d2b6fff80877224a9cfdb3d68.tar.lz
dexon-solidity-173bdb0df6ce338d2b6fff80877224a9cfdb3d68.tar.xz
dexon-solidity-173bdb0df6ce338d2b6fff80877224a9cfdb3d68.tar.zst
dexon-solidity-173bdb0df6ce338d2b6fff80877224a9cfdb3d68.zip
Define types in Julia
Diffstat (limited to 'docs')
-rw-r--r--docs/julia.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/julia.rst b/docs/julia.rst
index 5203b522..f1a6d8f8 100644
--- a/docs/julia.rst
+++ b/docs/julia.rst
@@ -16,6 +16,10 @@ language. It should also be easy to build high-level optimizer stages for JULIA.
The core components of JULIA are functions, blocks, variables, literals,
for-loops, switch-statements, expressions and assignments to variables.
+JULIA is typed, both variables and literals must specify the type with postfix
+notation. The supported types are ``bool``, ``u8``, ``s8``, ``u32``, ``s32``,
+``u64``, ``s64``, ``u128``, ``s128``, ``u256`` and ``s256``.
+
JULIA in itself does not even provide operators. If the EVM is targeted,
opcodes will be available as built-in functions, but they can be reimplemented
if the backend changes. For a list of mandatory built-in functions, see the section below.