hellerve
|
414451f2fa
|
tests: add test script recording
|
2018-04-10 12:34:36 +02:00 |
|
Erik Svedäng
|
1a818afa81
|
Various fixes related to docs.
|
2018-03-27 13:59:35 +02:00 |
|
Erik Svedäng
|
ef1549250f
|
More work on docs.
|
2018-03-27 09:43:39 +02:00 |
|
Erik Svedäng
|
35dabe7599
|
No need to complain about missing profile.carp file.
|
2018-03-13 14:31:53 +01:00 |
|
Erik Svedäng
|
ef6c7ac620
|
Support for a "~/.carp/profile.carp" file that is auto-loaded after Core, if it exists.
|
2018-03-11 14:15:40 +01:00 |
|
Erik Svedäng
|
ee2b31d311
|
Can set custom prompt with --prompt command line argument.
|
2018-03-08 07:33:16 +01:00 |
|
hellerve
|
01f366f2c8
|
core: remove interdependencies between modules
|
2018-02-27 15:10:42 +01:00 |
|
Erik Svedäng
|
a3266b0091
|
Flycheck works reasonanbly well.
|
2018-02-25 15:42:56 +01:00 |
|
Erik Svedäng
|
c483b1c0cb
|
BUG FIX: When running :rb, shouldn't carp stop when :r returns an
error? Yes it should.
|
2018-02-12 17:51:00 +01:00 |
|
Erik Svedäng
|
66f336cdc3
|
Preserve order of (.carp) files loaded.
|
2018-02-12 15:50:18 +01:00 |
|
Erik Svedäng
|
c67b931f35
|
Moved default project variable to Main.
|
2018-02-12 15:36:44 +01:00 |
|
Erik Svedäng
|
4034d02183
|
Added an '--optimize' compiler switch.
|
2018-02-06 08:47:55 +01:00 |
|
Erik Svedäng
|
0ef43e60f0
|
Split out two new modules: "Repl" and "StartingEnv".
|
2018-02-06 08:39:28 +01:00 |
|
Erik Svedäng
|
936dd8b26c
|
Changed type of member getter method to always returning a Ref (used to be non-ref for primitive types).
|
2018-01-26 21:23:29 +01:00 |
|
hellerve
|
b250be5a12
|
core: readded emap template :(
|
2018-01-24 17:14:43 +01:00 |
|
hellerve
|
9c933c64c5
|
core: rewrite both map functions in carp
|
2018-01-24 17:06:17 +01:00 |
|
hellerve
|
0f86e15f0e
|
templates: add Array.allocate; core: rewrite repeat and replicate in Carp
|
2018-01-24 17:06:15 +01:00 |
|
Thomas Dendale
|
0d3c5cc6ab
|
Renamed initialize. Cons also works for array
|
2018-01-24 16:30:59 +01:00 |
|
Thomas Dendale
|
8d49d76279
|
Added clamp to Int too. Fixed random-between floating point exception when lower = upper.
Added Array.initialize, symbol? commands
|
2018-01-23 16:23:37 +01:00 |
|
Erik Svedäng
|
83e15e48e3
|
Don't arity check 'help'.
|
2018-01-17 16:59:25 +01:00 |
|
hellerve
|
f76d664c43
|
compiler: make range a regular function instead of a template
|
2018-01-10 14:20:17 +01:00 |
|
hellerve
|
de40aef4d8
|
array templates: rewrite index-of and elem-count in carp
|
2018-01-02 14:39:24 +01:00 |
|
hellerve
|
b3dcd0311d
|
compiler: simplified error handling in commands
|
2017-12-30 15:13:00 +01:00 |
|
hellerve
|
48d1858b28
|
compiler: made commands throw eval error
|
2017-12-30 15:13:00 +01:00 |
|
hellerve
|
2d183768fe
|
compiler: added dynamic +, -, *, and / on integers
|
2017-12-30 15:13:00 +01:00 |
|
hellerve
|
85ce16d5db
|
core & compiler: initial work on #108
|
2017-12-30 15:13:00 +01:00 |
|
Erik Svedäng
|
c25fb23a24
|
Whitespace.
|
2017-12-28 14:42:19 +01:00 |
|
NOP0
|
24e64993cd
|
Fix for --core-flag
|
2017-12-24 14:26:43 +01:00 |
|
Erik Svedäng
|
4812605ec0
|
A 'c' command for printing the c-code of an expression. Moved dynamic functions to Dynamic module.
|
2017-12-23 06:30:42 +01:00 |
|
hellerve
|
b9368490d1
|
compiler: removed superfluous module from import list
|
2017-12-22 13:09:42 +01:00 |
|
hellerve
|
0ff8d77494
|
compiler: moved and, or, not macros back to eval, made them short-circuit
|
2017-12-22 13:04:34 +01:00 |
|
hellerve
|
1c861d9f4d
|
interim commit
|
2017-12-22 11:17:19 +01:00 |
|
hellerve
|
b278622fa7
|
commands: moved arithmetic/logic functions from eval loop to Commands
|
2017-12-21 18:32:06 +01:00 |
|
Erik Svedäng
|
e20532ce9c
|
A bunch of functions extracted from 'eval' to their own proper dynamic functions.
|
2017-12-18 06:54:28 +01:00 |
|
Erik Svedäng
|
025c47e898
|
Lookup during dynamic evaluation automatically searches the 'Dynamic' module.
|
2017-12-17 22:36:46 +01:00 |
|
Erik Svedäng
|
1f4ea153d2
|
Prepare for a Dynamic module that's part of the out-of-the-box environment.
|
2017-12-16 15:42:35 +01:00 |
|
Erik Svedäng
|
f8a0560dce
|
'list?' extracted
|
2017-12-15 16:53:03 +01:00 |
|
Erik Svedäng
|
26815686a8
|
Can set the compiler and make it echo its command.
|
2017-12-12 11:23:59 +01:00 |
|
Erik Svedäng
|
ad6b1a9b6d
|
Added 'words' and 'lines' function
|
2017-12-03 22:30:48 +01:00 |
|
Erik Svedäng
|
c9b2ae9fc1
|
Don't emit unnecessary text when running compiler with -x or -b flags.
|
2017-12-01 15:19:39 +01:00 |
|
Erik Svedäng
|
9625afa194
|
The info and type commands are special forms now, to avoid having to
quote their args.
|
2017-12-01 10:49:46 +01:00 |
|
Erik Svedäng
|
5efecc1c8a
|
Turned the def* commands into special forms to not evaluated their args.
|
2017-12-01 10:36:14 +01:00 |
|
Erik Svedäng
|
778b0d465e
|
Args to commands are not evaluated at the REPL, for now.
|
2017-11-30 23:00:00 +01:00 |
|
Erik Svedäng
|
9e51b110af
|
Added 'Dynamic' module that will contain dynamic versions of various functions.
|
2017-11-30 14:47:21 +01:00 |
|
Erik Svedäng
|
652a3d7f40
|
Defmodule command.
|
2017-11-30 14:40:30 +01:00 |
|
Erik Svedäng
|
824c4d6047
|
Deftype command.
|
2017-11-30 14:18:52 +01:00 |
|
Erik Svedäng
|
622ce550c3
|
Added defmacro and defdynamic as commands.
|
2017-11-30 14:04:44 +01:00 |
|
Erik Svedäng
|
4ab309783b
|
Definterface command.
|
2017-11-30 13:56:46 +01:00 |
|
Erik Svedäng
|
1cbf55beb5
|
Register command.
|
2017-11-30 09:14:12 +01:00 |
|
Erik Svedäng
|
d9cd5d57b1
|
OS command.
|
2017-11-30 09:05:46 +01:00 |
|