docs
This commit is contained in:
1 parent
0e3395e7bd
commit
73176ed6c3
2 files changed
+19
-17
No files matched your search
@@ -1,15 +1,9 @@
|
||||
# Fundamental components of `scarpet` programming language (towards version 1.7).
|
||||
# Fundamental components of `scarpet` programming language.
|
||||
|
||||
Scarpet (a.k.a. Carpet Script, or Script for Carpet) is a programming language
|
||||
designed to provide the ability to write custom programs to run within Minecraft
|
||||
and interact with the world.
|
||||
|
||||
The project was initially built based on the EvalEx project, however it now diverged
|
||||
so far away from the original implementation, it would be hard to tell it without
|
||||
this mention. EvalEx is a handy expression evaluator for Java, that allows to evaluate
|
||||
simple mathematical and boolean expressions. For more information,
|
||||
see: [EvalEx GitHub repository](https://github.com/uklimaschewski/EvalEx)
|
||||
|
||||
This specification is divided into two sections: this one is agnostic to any
|
||||
Minecraft related features and could function on its own, and CarpetExpression
|
||||
for Minecraft specific routines and world manipulation functions.
|
||||
@@ -277,3 +271,10 @@ check_foo_not_zero();
|
||||
...
|
||||
check_foo_not_zero() -> if(global_foo == 0, global_foo = 1)
|
||||
</pre>
|
||||
|
||||
## Mentions
|
||||
|
||||
LR1 parser, tokenizer, and several built-in functions are built based on the EvalEx project.
|
||||
EvalEx is a handy expression evaluator for Java, that allows to evaluate
|
||||
simple mathematical and boolean expressions. EvalEx is distributed under MIT licence.
|
||||
For more information, see: [EvalEx GitHub repository](https://github.com/uklimaschewski/EvalEx)
|
||||
Reference in new issue
Block a user