Jonathan Turner
|
9c7f63e8b2
|
Fixed prefix operator precedence bug. Added collate(?), zip_with, and zip
|
2009-07-03 12:13:29 +00:00 |
|
Jason Turner
|
ca8337a41d
|
Fix clone of functions
|
2009-07-03 05:47:53 +00:00 |
|
Jonathan Turner
|
78be32927c
|
Fixed repl scope leak after an exception
|
2009-07-03 03:13:05 +00:00 |
|
Jonathan Turner
|
db9442d5a8
|
More prelim testing to isolate repl issue
|
2009-07-02 22:54:50 +00:00 |
|
Jonathan Turner
|
af4b1a2bfb
|
Tracking down the 'to_string in repl clobbers vars' issue, not done yet
|
2009-07-02 21:23:49 +00:00 |
|
Jason Turner
|
47052f710c
|
Fix some semantics of operator= to reduce dispatch, etc.
Also, add more bootstrapping support for some of the built in types.
|
2009-07-02 19:59:40 +00:00 |
|
Jonathan Turner
|
a70af22eaf
|
Add initial pair printing
|
2009-07-02 19:26:25 +00:00 |
|
Jonathan Turner
|
441112648e
|
General cleanup to chaiscript prelude
|
2009-07-02 18:09:02 +00:00 |
|
Jonathan Turner
|
6ddef8f918
|
Changed to using to_string as dispatch instead of print and puts
|
2009-07-02 17:45:58 +00:00 |
|
Jonathan Turner
|
60b814f687
|
Added print and puts for ranged values
|
2009-07-02 17:39:53 +00:00 |
|
Jonathan Turner
|
6d4f2146b8
|
Added function guards
|
2009-07-02 17:22:12 +00:00 |
|
Jonathan Turner
|
f6342ef2a8
|
Remove stale && and || registration
|
2009-07-01 20:02:01 +00:00 |
|
Jonathan Turner
|
5d9794470e
|
Remove stale && and || registration
|
2009-07-01 19:57:31 +00:00 |
|
Jonathan Turner
|
8e732f3087
|
Allow more general function dispatch
|
2009-07-01 19:47:12 +00:00 |
|
Jonathan Turner
|
57c75dae31
|
Add && and || operator short-circuiting
|
2009-07-01 17:57:14 +00:00 |
|
Jonathan Turner
|
feb4cc0d14
|
Fix eval() function
|
2009-07-01 17:45:48 +00:00 |
|
Jonathan Turner
|
042df442a1
|
Fixes to for loops. Added elseif and else
|
2009-07-01 17:13:52 +00:00 |
|
Jonathan Turner
|
27f6ec7b70
|
Change equation to clone rhs. Add := ref equation. Failed clones will ref copy
|
2009-07-01 16:48:27 +00:00 |
|
Jonathan Turner
|
5f96b39c08
|
Allow bash script header
|
2009-07-01 13:41:15 +00:00 |
|
Jonathan Turner
|
3214f427ff
|
Added for loop
|
2009-07-01 13:33:29 +00:00 |
|
Jonathan Turner
|
bb174b37a6
|
Added inline map creation
|
2009-07-01 13:19:26 +00:00 |
|
Jonathan Turner
|
2cba593c53
|
Add prefix ++ and --
|
2009-06-30 19:34:16 +00:00 |
|
Jonathan Turner
|
e6a0dc9af6
|
Fix with function definitions of zero params
|
2009-06-30 19:11:12 +00:00 |
|
Jonathan Turner
|
1bc71d21bd
|
Move parser-specific stuff into its own class
|
2009-06-30 18:54:33 +00:00 |
|
Jonathan Turner
|
ee44ae0ca0
|
Initial reworking of chaiscript parser to use the new chaioop parser
|
2009-06-30 18:17:15 +00:00 |
|
Jonathan Turner
|
2f27dc55fc
|
Add substr parse prevention. Add while, def, and if
|
2009-06-30 13:37:47 +00:00 |
|
Jonathan Turner
|
e4242cccd9
|
Add id literals
|
2009-06-30 10:56:00 +00:00 |
|
Jason Turner
|
714e1c0cec
|
Support cleaner usage of bind, by adding a built in _ variable
|
2009-06-29 23:00:29 +00:00 |
|
Jonathan Turner
|
b3fa6405c5
|
Added lambda parsing
|
2009-06-29 21:15:54 +00:00 |
|
Jonathan Turner
|
df76546917
|
Oops, adding missing header
|
2009-06-29 18:38:01 +00:00 |
|
Jonathan Turner
|
aa1d245d9c
|
Add floating point parsing
|
2009-06-29 18:37:44 +00:00 |
|
Jonathan Turner
|
05e87b7691
|
Added var decl, quoted strings, and singly-quoted char strings
|
2009-06-29 16:33:34 +00:00 |
|
Jonathan Turner
|
8e3bad32d6
|
Added dot notation and proper C identifiers
|
2009-06-29 15:45:15 +00:00 |
|
Jonathan Turner
|
519eab12c3
|
Added deep function and array access
|
2009-06-29 15:28:45 +00:00 |
|
Jonathan Turner
|
85f9d049eb
|
Huge speed boost by getting rid of unnecessary match setup and teardown.
|
2009-06-29 13:23:12 +00:00 |
|
Jonathan Turner
|
88e0d15efd
|
Fun call parsing fixed, but parsing waaaaay slower
|
2009-06-27 20:59:43 +00:00 |
|
Jonathan Turner
|
cb1706242e
|
Not quite there, but we're definitely improving with the parser. Once I work out how I want expression parsing working we'll be close
|
2009-06-27 20:09:27 +00:00 |
|
Jason Turner
|
8d42015334
|
Add retry to dispatch mechanism in case of guard failure
|
2009-06-27 14:00:22 +00:00 |
|
Jason Turner
|
9b8fcef612
|
Add stub (may be complete) guard implementation
|
2009-06-27 13:55:45 +00:00 |
|
Jason Turner
|
ee9c71de4c
|
Add support for seeing if a dispatch exists
|
2009-06-26 15:28:11 +00:00 |
|
Jonathan Turner
|
b806ff20cc
|
Fixed up start/finish parser commands to carry more of the previous state
|
2009-06-26 14:21:44 +00:00 |
|
Jonathan Turner
|
e3588496c4
|
Next step in the parser, using something similar to push down automata
|
2009-06-26 13:43:25 +00:00 |
|
Jason Turner
|
f8593a0927
|
Add type_match function to see if two types are the same
|
2009-06-26 13:37:00 +00:00 |
|
Jonathan Turner
|
ae3ce3fcb2
|
Fix arity when registering lambdas and functions
|
2009-06-25 23:14:46 +00:00 |
|
Jason Turner
|
46859b1918
|
Add support for function binding and cut down on some includes
|
2009-06-25 22:34:00 +00:00 |
|
Jonathan Turner
|
96f3033a42
|
Moved to using a prelude header
|
2009-06-25 14:16:32 +00:00 |
|
Jonathan Turner
|
18985b6a97
|
Added puts and join
|
2009-06-25 02:45:28 +00:00 |
|
Jason Turner
|
12f7c222e1
|
Return matching named functions when a get_object query finds no matching name object
|
2009-06-25 00:50:18 +00:00 |
|
Jason Turner
|
eb5dbe4975
|
Add more specific exception types to the dynamic system and handle them properly
|
2009-06-25 00:03:23 +00:00 |
|
Jonathan Turner
|
d8b5847ff6
|
Fix for Issue 38: array push_back
|
2009-06-24 16:19:25 +00:00 |
|