37379b6cad
parser: first work on comments, hacky
2017-06-03 22:58:37 -04:00
c7777dec03
prompt: added emacs-like shortcuts
2017-06-03 22:41:19 -04:00
84a0fbe4ec
prompt: added reverse-i-search
2017-06-03 22:01:10 -04:00
dad9e719b4
Merge pull request #1 from adamrk/tab_completion
...
Tab completion
2017-06-01 18:49:34 -04:00
714b8a936a
eval: added %
2017-05-30 05:15:55 -04:00
adamrk
be3df4e22a
modify tab to complete word when there is only one completion
2017-05-29 13:43:57 -04:00
adamrk
5b9f0abeb5
add tab completion by displaying functions matching prefix
...
Added a function to State which returns a list of all defined
values/functions matching a prefix. Modify the tab printout to
display 5 of these results.
2017-05-29 00:26:46 -04:00
adamrk
a7a06a7684
fix bug caused by incomplete pattern in precedence function
...
typing in a string like "4 + sqrt(5)" would cause a crash
because in the middle of typing "sqrt" the evaluator would
treat 's' as an operator and try to compare it's precedence
to the precedence of '+'. The precedence function did not
match all patterns and this adds an otherwise case.
2017-05-29 00:20:40 -04:00
adamrk
6744136708
add printCompletions to print below the input line
2017-05-28 23:44:26 -04:00
a7f74909d7
prompt: remove debug statement
2017-05-27 20:03:45 -04:00
e612b3c226
parser: maybe fixed a parser bug; examples: added them
2017-05-25 18:04:57 -04:00
e91588ab96
primitives: added all necessary primitives
2017-05-23 16:20:54 -04:00
c5edf4854f
eval: fixed first state forgetfulness issue (the prior commit didnt really fix it)
2017-05-22 18:58:42 -04:00
545d2896a1
eval: fixed first state forgetfulness issue
2017-05-22 18:56:27 -04:00
0fb92f60da
all: added primitives
2017-05-22 18:52:00 -04:00
139225dd14
types: added native function type
2017-05-22 18:23:06 -04:00
a357895321
all: added parenthesized expressions
2017-05-22 17:19:34 -04:00
b31965fe8a
prompt: fixed history file handling
2017-05-20 10:56:19 -04:00
e828a5b2cd
readme: documented arbitrary precision floats
2017-05-20 10:17:22 -04:00
a8925fd8ab
types: drop in replacement of double to 90 decimal bigfloat
2017-05-20 10:16:28 -04:00
119d4bfbe1
prompt: bugfix in insertion: respect cursor position
2017-05-19 13:52:55 -04:00
c666fb453d
prompt: added history file draft
2017-05-19 13:30:00 -04:00
7b85c63b43
all: refactoring according to hlint; parser: added history
2017-05-19 12:50:11 -04:00
abd68c8525
readme: updated todo
2017-05-19 11:47:56 -04:00
42fff2f310
all: multistatement blocks; types: bugfix in multiplication of two integers
2017-05-19 17:07:33 +02:00
1c46c60206
all: minor refactor and better error handling
2017-05-19 16:19:55 +02:00
a011b5647f
all: added function definitions and calls
2017-05-19 15:45:46 +02:00
ca11f51e33
parse: refactored block parsing; all: added while loops
2017-05-19 13:35:32 +02:00
6a651bbf1a
readme: updated todo section
2017-05-17 14:25:39 +02:00
a3ba8c9c9b
state: added state handling and variables
2017-05-17 14:24:32 +02:00
30ecca462d
all: add stub for if
2017-05-17 13:21:03 +02:00
fa032ff54c
removed first todo (yay!)
2017-05-11 18:50:59 +02:00
0a07021ef0
added logical operators
2017-05-11 18:50:16 +02:00
5603728a9b
added boolean type
2017-05-11 17:19:53 +02:00
b44d51c448
added asciicast
2017-05-05 14:41:30 +02:00
5abfdce820
initial public release
2017-05-05 14:37:53 +02:00
2aa996e963
added live updates
2017-05-03 13:26:15 +02:00
d396dc0978
started tree rewrite
2017-04-28 18:37:38 +02:00
4c965e8891
added parser and eval stub
2017-04-28 18:07:46 +02:00
71983ddf3e
removed haskeline extension
2017-04-28 12:58:11 +02:00
a36bab384d
simple repl
2017-04-28 11:54:10 +02:00
639a513ad4
initial skeleton
2017-04-27 19:29:42 +02:00