Commit Graph

2661 Commits

Author SHA1 Message Date
Chris Hall
a373dd6944 Adding test on String =
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
4d0d1db0b6 Adding test checking empty? against zero
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
a0e507774d Adding test for String.repeat
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
4bc3f778f0 Adding test for String.append
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
9126f24db8 Renaming String.join -> String.concat, and String.join-with to String.join
This naming matches s-el and other languages/libraries.

Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
202092fe45 Adding TODOs to String.carp to point out mismatch in Carp naming compared to s-el and others 2018-05-20 12:48:50 +10:00
Chris Hall
35c8dd9bfa Adding tests for String.join and String.join-with
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
513de1f738 Adding join-with [sep strings] to Core.String
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
c6e4c9001f Documenting some functions in String module
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
f11969231a Removing (build), (run), (quit) from examples/updating.carp 2018-05-20 12:05:58 +10:00
Chris Hall
abf9048d37 Travis now runs ./run_carp_test --no_sdl
This resolves #217
2018-05-20 12:05:58 +10:00
Chris Hall
ced59518a2 Adding flag to run_carp_tests to disable sdl compile tests
This is working towards #217
2018-05-20 12:05:58 +10:00
Chris Hall
74ab9e44e8 Changing run_carp_tests.sh and test/check.sh to use stack exec carp
rather than relying on stack install and ~/.local/bin being in path
2018-05-20 12:05:58 +10:00
Chris Hall
c42471ec7a Removing use of random from example/updating.carp to help issue #227 2018-05-20 12:05:58 +10:00
Chris Hall
24ae95bc65 Removing two buggy tests from example/basics.carp which were causing issue #227 2018-05-20 12:05:58 +10:00
Chris Hall
0c881bc0ff Removing String.duplicate in favour of String.copy
Issue #94
2018-05-20 12:05:23 +10:00
Erik Svedäng
c1a9bb6ac1
Merge pull request #233 from mkfifo/minor-typo
Trivial: minor typo in ArrayTemplates comment
2018-05-19 11:38:41 +02:00
Chris Hall
2eda48955a Trivial: minor typo in ArrayTemplates comment 2018-05-19 16:40:22 +10:00
Erik Svedäng
15d08974ae
Merge pull request #226 from hellerve/add-docs
Add docs
2018-05-17 09:44:15 +02:00
hellerve
0071399134 core: fix stray closing bracket (thanks @mkfifo) 2018-05-16 06:11:04 +02:00
hellerve
97d1259687 core: remove docs from interfaces 2018-05-12 16:08:48 +02:00
hellerve
db0a3d4417 core: document integer, interfaces, pattern, safeint, and system 2018-05-12 16:08:48 +02:00
hellerve
f3e559dc28 docs: more documentation work 2018-05-12 16:08:48 +02:00
hellerve
03b52d73ba array: defn->doc 2018-05-12 16:08:48 +02:00
hellerve
b2c57e16d3 core: initial documentation work 2018-05-12 16:08:48 +02:00
Erik Svedäng
7755cd8e1f Two bugs. 2018-05-09 08:10:52 +02:00
Erik Svedäng
6e9dd2cd9f
Merge pull request #225 from hellerve/neg
Add neg protocol
2018-05-08 17:14:08 +02:00
hellerve
e3c1a31ec6 core: add neg protocol and add to int and long 2018-05-07 21:57:15 +02:00
Erik Svedäng
fc035d38e7 http://smallcultfollowing.com/babysteps/blog/2018/04/27/an-alias-based-formulation-of-the-borrow-checker/ 2018-05-01 05:26:14 +02:00
Erik Svedäng
f12dab131f Todo 2018-04-30 11:02:27 +02:00
Erik Svedäng
d25e1619ab Updated render-text-to-texture to allow setting the color of the text. 2018-04-24 15:02:06 +02:00
Erik Svedäng
8e8b1c8f13 Todos. 2018-04-24 11:29:45 +02:00
Erik Svedäng
d84ea0cb31 /= for int refs 2018-04-24 10:57:58 +02:00
Erik Svedäng
9370275097 Filepath module. 2018-04-23 16:14:40 +02:00
Erik Svedäng
ba16a6ed8e SDL.Hint module. 2018-04-23 12:47:32 +02:00
Erik Svedäng
2d9ca99c58 Array.concat function. 2018-04-23 12:20:00 +02:00
Erik Svedäng
5648a87779 0 is not positive. 2018-04-21 15:45:05 +02:00
Erik Svedäng
744bfd067a Add SDL.render-draw-point function. 2018-04-21 15:44:10 +02:00
Erik Svedäng
39022fdf90 Help for more configs. 2018-04-21 15:43:50 +02:00
Erik Svedäng
4a88903158 Added pos? and neg? functions, some changes to SDL library. 2018-04-20 13:18:58 +02:00
hellerve
414451f2fa tests: add test script recording 2018-04-10 12:34:36 +02:00
Erik Svedäng
a89e09a18d
Merge pull request #219 from honix/master
sdl_image.carp -> SDL_image.carp
2018-04-09 07:17:35 +02:00
Fyodor Shchukin
bbe27953ce sdl_image.carp -> SDL_image.carp 2018-04-08 21:31:03 +03:00
Erik Svedäng
8379e6f1ec
Merge pull request #218 from hellerve/argv
Add System.args
2018-04-04 09:31:43 +02:00
hellerve
b9ae704dcc all: change system argument api 2018-04-04 09:00:20 +02:00
hellerve
4d70811479 all: add System.args 2018-04-03 17:51:37 +02:00
Erik Svedäng
46739bd5eb
Merge pull request #211 from mkfifo/include-time-h
Adding time.h header to carp_bench.h to resolve bug #208
2018-04-02 09:14:01 +02:00
Chris Hall
e1e80e2b81 Adding time.h header to carp_bench.h to resolve bug #208
Under POSIX clock_gettime and timespec are defined in time.h
I don't think we need sys/time.h
2018-04-02 10:27:36 +10:00
Erik Svedäng
b856a15743
Update Todo.org 2018-03-31 10:01:33 +02:00
Erik Svedäng
eed888d63e
Merge pull request #214 from mkfifo/travis-ci-builds
Adding travis ci builds covering osx and linux
2018-03-31 09:58:55 +02:00