ondra05
8ef7118dc1
initial vars - &mut self
2022-09-21 00:28:57 +02:00
ondra05
2f5306795f
Host Interface initial vars support
2022-09-19 20:58:32 +02:00
ondra05
daca854db4
stuff
2022-09-14 21:57:02 +02:00
ondra05
b7c9a4b74d
Fixed #13
2022-09-14 21:50:04 +02:00
ondra05
c4fda0c0ec
Fixed issue #12
2022-09-14 21:46:17 +02:00
ondra05
e61ba2e533
Error comments + renaming
2022-07-02 00:27:38 +02:00
ondra05
43439b7e58
Implemented host interface
2022-07-02 00:17:29 +02:00
ondra05
32072e9dea
Well, Able and Eval functios can now change loops flow!
2022-07-01 23:12:59 +02:00
ondra05
4a2674a035
Implemented finally
2022-07-01 22:56:22 +02:00
ondra05
bde8be865c
Value Refactoring
2022-06-17 20:58:37 +02:00
ondra05
8297c192ac
Changed dim syntax
2022-06-03 00:10:19 +02:00
ondra05
32f3bf471e
Changed `hopback` to `and again` (credits: Evrey#6086)
2022-05-17 19:03:02 +02:00
ondra05
ad2839d497
Replaced `break` with `enough` (credits: Evrey#6086)
2022-05-06 23:52:43 +02:00
ondra05
97d6edcc57
Evaluating nonextant variable results into Undefined
2022-05-06 20:20:52 +02:00
ondra05
3cc80b7a94
{} -> ()
2022-05-06 17:30:41 +02:00
ondra05
a43b14741d
Removed arity checking and arity error
2022-05-06 17:28:25 +02:00
ondra05
39e46f090d
Renamed few errors
2022-05-06 17:25:50 +02:00
ondra05
a4c8d845f5
get_bit returns error kind which makes the error spanned
2022-05-05 00:36:13 +02:00
ondra05
cc7d6d6ba1
Added non-newline print.
2022-05-03 23:13:17 +02:00
ondra05
4b7aa07d06
Implemented key extraction
2022-04-25 14:56:35 +02:00
ondra05
827a13f358
Double Melo causes variable deletion
2022-04-22 21:14:53 +02:00
ondra05
b035138998
Rc is got by reference by default
2022-04-22 21:09:03 +02:00
ondra05
b0e8acd438
Reimplemented Melo
...
- Variable made into enum of `ValueRef or Melo`
- Melo-ing variable causes dropping of the Rc, decreasing reference count
2022-04-22 21:06:34 +02:00
ondra05
5c11cd39bb
Made Parser private and made `parse` function
...
Parser had only consturctor and parse functions public.
Likely, there would be just a creation of parser followed by .parse(),
and now this action is performed in `parse` function.
2022-04-18 22:09:41 +02:00
ondra05
dbe4835732
Renamed init function in parser
2022-04-18 22:01:35 +02:00
ondra05
097a5571ae
replaced if with unless
2022-04-18 21:42:26 +02:00
ondra05
df32550844
Chars are no longer special case of identifiers
2022-04-18 21:04:19 +02:00
ondra05
e24bc5af35
Expr::Literal contains Literal type which contains only possible types instead of any Value
2022-04-18 20:56:11 +02:00
ondra05
0ef7177a03
Changed variable declaration / assignment and equals syntax:
...
- `dim <ident> [value];` is now used for declaration
- `<value> =: <assignable>` is used for assignments
- As token `=` doesn't cause any ambiguity now, it can be used for equals operation
2022-04-18 20:34:08 +02:00
ondra05
2cdce8f77e
dependency update + fmt
2022-04-12 14:16:34 +02:00
ondra05
4c20ef179e
Removed ! for ain't
2022-04-08 17:39:14 +02:00
ondra05
1dc9979738
Removed ident type, fixed tests
2022-04-02 01:34:25 +02:00
ondra05
75df416679
Generalised Spanned items
2022-04-02 01:22:46 +02:00
ondra05
8f6d2483f3
fixed tests
2022-03-30 21:03:17 +02:00
ondra05
c867ad8406
Removed booleans
2022-03-30 20:55:05 +02:00
ondra05
0dee4ad9ab
Introduced newtype for `Rc<RefCell<Value>>`
2022-03-01 22:13:49 +01:00
ondra05
acb9bed2aa
Satisfied most of THE ALLMIGHTY CLIPPY's requests.
2022-03-01 21:53:58 +01:00
ondra05
f703a2546d
Fixed tests and examples
2022-02-22 22:49:56 +01:00
ondra05
5f4c0da06a
added new_with_vars
2022-02-14 00:08:48 +01:00
ondra05
4d6dd0e58b
Fixed all errors
2022-02-13 00:58:50 +01:00
ondra05
3dd91b0c97
Value::Int is isize
2022-02-13 00:55:19 +01:00
ondra05
013c324a8e
Implemented built-in functios
...
- Missing coercions and operations
2022-02-12 21:14:55 +01:00
ondra05
ae15f6cfb3
Implemented [] as length operator
2022-01-22 20:48:21 +01:00
ondra05
622ce45435
Implemented Len in parser
2022-01-22 20:37:44 +01:00
ondra05
fe1f20a925
Removed clone
2021-12-14 23:05:21 +01:00
ondra05
a7d0766eb7
Renamed stuff
2021-12-14 23:02:55 +01:00
Alex Bethel
7655090c06
Arity-based functio deinterlacing
2021-12-14 15:56:40 -06:00
ondra05
7aa2d67449
🚗 Implemented ordered functio chaining
2021-12-14 21:45:44 +01:00
ondra05
7525b434e6
Implemented halfway of functio sub
2021-12-09 00:33:45 +01:00
ondra05
d8ecfed5d5
Made Clippy happy (so he will not kill us in sleep)
2021-12-08 22:56:12 +01:00