Jonathan Turner
|
494335fb09
|
Change default push_back behavior
|
2009-07-04 15:20:15 +00:00 |
|
Jonathan Turner
|
e151e26d60
|
A minor correction to range vector generation
|
2009-07-04 13:40:42 +00:00 |
|
Jonathan Turner
|
a76cc16922
|
Better ranged vector, now generated from a new prelude function
|
2009-07-04 13:04:55 +00:00 |
|
Jonathan Turner
|
cda30f3ed7
|
Add range values of the form [x..y], currently internally generatored
|
2009-07-04 12:33:27 +00:00 |
|
Jonathan Turner
|
4afdee1c09
|
Add odd and even functions
|
2009-07-04 10:58:07 +00:00 |
|
Jonathan Turner
|
4f09d945dd
|
Add modulus operator
|
2009-07-04 10:55:17 +00:00 |
|
Jonathan Turner
|
b2a99d4105
|
Add modulus operator to parser
|
2009-07-04 02:17:50 +00:00 |
|
Jason Turner
|
310dd030ac
|
Register string as a container type and update the prelue to guard to_string for ranges against strings.
|
2009-07-03 16:37:18 +00:00 |
|
Jason Turner
|
27e72d117f
|
Add "is_type" utility function and register "function" as a registered typename
|
2009-07-03 15:41:51 +00:00 |
|
Jonathan Turner
|
b191d5a2ee
|
Fix sum and product to start with floating point instead of int
|
2009-07-03 15:32:58 +00:00 |
|
Jason Turner
|
b720d85c8b
|
Implement function assignment
|
2009-07-03 15:07:18 +00:00 |
|
Jonathan Turner
|
294d22ac5b
|
Remove unnecessary type comparison in equation
|
2009-07-03 14:52:05 +00:00 |
|
Jonathan Turner
|
bce2a1ffdb
|
Remove old langkit project
|
2009-07-03 14:16:22 +00:00 |
|
Jonathan Turner
|
b1ae26e9c1
|
Remove old chaioop starting project
|
2009-07-03 14:15:09 +00:00 |
|
Jonathan Turner
|
34983dbed2
|
Added take_while and drop_while
|
2009-07-03 14:08:58 +00:00 |
|
Jonathan Turner
|
f35c2908d7
|
Change old reduce to foldl. Add clojure reduce. Add sum, product. Add take, drop, filter
|
2009-07-03 13:09:39 +00:00 |
|
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 |
|