forked from akjmicro/dclang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES.txt
52 lines (44 loc) · 2.4 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
2021-11-27
* Been a while since I've updated this. Big things I can remember having added since the last update
(more available by looking at github diffs):
* adding a bunch of words to use binary trees structures as avariable storage option. These work like
hashes, but unlike `h@` and `h!`, you can create more than one (the `h` words only use a giant global
common hash-space). They are only slightly slower than a hash; they have O(log n) performance.
* tcp networking words: `tcpconnect`, `tcplisten`, `tcpaccept`
* some library tweaks, including many MIDI examples and their dependent library code.
* The addition (today) of `freadall`, to slurp an entire file into memory.
2020-05-01
* Ok, maybe I'll be nice and announce: the `fread` word has changed API. The old parameter
pattern was: <num_bytes_to_read> <file_ptr>, and an automatic buffer was created for the work.
I then realized it would be better to make the user/caller supply the buffer, and return
the end of the buffer on success, so that concats are easy like in `mempcpy`. In addition, `fread`
could have a similar calling pattern that would allow easy "chaining" of the returns to repeatedly
concat the read-in string from the <file>. So now, the parameters on the stack are:
<buf_ptr> <file_ptr> <num_bytes_to_read>, and it will return the new ENDING point of the
buffer, which is essentially the input <buf_ptr> + <num_bytes_read_in_successfully>
2020-03-06
* refuse to update this file anymore when there is version control!
2019-05-11
* logic_ops simplification/refactor.
* adding 'true' and 'false' constants
* adding a logic_ops test in the 'examples' folder
2019-05-07
* 'do/redo' is now 'times/again' - again, distinguishing ourselves
from Forth
2019-05-05
* finished implementation of 'if-else-endif'
2019-04-14
* big change: strings now just use "string" double-quotes, not their own
`s"` token, which was the old way, derived from Forth.
2019-04-12
* fix to an import string bug
2019-03-03
* Got rid of `qdo` and `qredo` in favor of making `do` have that
functionality. So, `do` is now a counted loop with `i`, `j`, `k` references.
* Edited all examples to reflect this change.
* changed the `stdin` catch logic to be better for cross-platform compiles
in the `revertinput` function.
* expanded the `fractions.dc` example to include multiplication and division
of fractions.
* adding this file.
* add the `circle.dc` example.