1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 10:07:45 +03:00
Commit Graph

1677 Commits

Author SHA1 Message Date
Chris McCormick
80c5fbb13c Documentation for the web-run functionality. 2016-10-26 08:56:57 +08:00
Chris McCormick
082158f9ee Allow web exec of a .mal file via symlinked php script.
ln -s  mal.php myscript.php
Then create myscript.mal will get run when the user visits /myscript on a PHP capable webserver.
2016-10-25 10:35:14 +08:00
Joel Martin
16ca60daf9 guide: incorporate feedback from Nicolas Boulenguez 2016-10-08 12:23:10 -05:00
Joel Martin
f60f33e0d8 Haskell: update docker image to 7.10.3
This goes along with https://github.com/kanaka/mal/pull/238
2016-10-06 17:55:58 -05:00
Joel Martin
2af103066c Merge pull request #238 from prt2121/pt/haskell-7.10.1
support GHC 7.10.1+ : update error handling
2016-10-06 17:53:27 -05:00
Prat
53db2d63cb Support GHC 7.10.1+. Update error handling 2016-10-02 16:56:51 -04:00
Joel Martin
49762e14b2 Merge pull request #237 from iqbalansari/master
Compile guile files before running them
2016-09-20 09:32:59 -05:00
Iqbal Ansari
9f558de9ab Compile guile files before running them 2016-09-20 17:55:29 +05:30
Joel Martin
d75a5739fa Merge pull request #232 from zmower/ada_patches_sep16
Ada patches sep16
2016-09-15 14:13:42 -05:00
Joel Martin
12c54d7271 Merge pull request #233 from iqbalansari/master
Update CLISP implementation
2016-09-15 13:28:34 -05:00
Iqbal Ansari
08e86b3cd0 Store enviroments as struct instead of classes
Seems to give some good speedups
2016-09-15 20:16:55 +05:30
Iqbal Ansari
184c16ad0e Do not use custom hashtable for storing MAL environment 2016-09-15 09:55:16 +05:30
Iqbal Ansari
6e8fc83537 Fix a typo in core division function 2016-09-15 09:43:03 +05:30
Chris M Moore
311cbfc03c Nicholas Boulenguez : Use Get_Line function instead of insisting on a maximum string size 2016-09-10 21:06:47 +01:00
Chris M Moore
ae2747024f Nicholas Boulenguez : Delegate Ada dependency handling to gnatmake 2016-09-10 20:45:06 +01:00
Chris M Moore
daa68f17c7 Nicholas Boulenguez : Replace all GNAT projects with -D gnatmake option 2016-09-10 18:35:10 +01:00
Joel Martin
fa5af3ad92 Merge pull request #231 from iqbalansari/master
Update README to mention CLISP implementation
2016-08-29 12:47:06 -05:00
Iqbal Ansari
b0e083743e Add GNU CLISP to the list of implementations 2016-08-29 22:35:43 +05:30
Iqbal Ansari
68511d82dc Do not start MAL REPL if code is executed in Emacs (specially via SLIME) 2016-08-29 20:24:29 +05:30
Iqbal Ansari
798b5717f6 Add interop
- clisp-eval: allows executing Common Lisp
- define-builtin: allows defining builtin functions on the fly
2016-08-29 20:24:26 +05:30
Iqbal Ansari
5f6ad97006 Intern symbols in mal-user package while unwraping MAL values 2016-08-29 20:10:42 +05:30
Iqbal Ansari
32dda0de21 Print startup header when REPL starts 2016-08-29 16:37:11 +05:30
Iqbal Ansari
c1ad20675e Fix path of history file for readline 2016-08-29 16:37:00 +05:30
Joel Martin
8421dbf821 Merge pull request #230 from iqbalansari/clisp
Add MAL implementation in clisp
2016-08-28 16:01:15 -05:00
Iqbal Ansari
cfa139a7a1 Add make target to clean generated files 2016-08-28 23:33:49 +05:30
Iqbal Ansari
abb46bb21d Add readline integration support to the REPL 2016-08-28 23:33:35 +05:30
Iqbal Ansari
d65385bf2d Use only clisp specific features 2016-08-28 23:22:57 +05:30
Iqbal Ansari
3283e402d9 Compile clisp files before running
This step gives really good speedups, there still seem to be some
bottlenecks around evaluation which need attention
2016-08-28 22:26:35 +05:30
Iqbal Ansari
1d0a626d1f Move exports from types package to the top 2016-08-28 22:03:54 +05:30
Iqbal Ansari
d4fe5ef0a5 Use singleton values for nil, true and false 2016-08-28 21:46:37 +05:30
Iqbal Ansari
29cb42a450 Avoid creating unnecessary symbols for special froms in eval 2016-08-28 21:21:21 +05:30
Iqbal Ansari
3b97a1a78b Make sure dependencies are loaded only once 2016-08-28 20:43:15 +05:30
Iqbal Ansari
f6da27368c Coerce results of division to a non fractional value 2016-08-28 20:39:21 +05:30
Iqbal Ansari
20bd0392b9 Use find-env instead of get-env in is-macro-call
Apparently the earlier approach with all its error handling is slower
2016-08-28 20:09:20 +05:30
Iqbal Ansari
b6fce2eea0 Cleanup mal-value= 2016-08-28 19:57:09 +05:30
Iqbal Ansari
97c2c420d5 Store symbols as strings 2016-08-28 19:51:04 +05:30
Iqbal Ansari
b54ada313a Rename mal-type to mal-data 2016-08-28 17:58:06 +05:30
Iqbal Ansari
adaa0a0047 Use maphash to print hash-tables 2016-08-28 14:15:58 +05:30
Iqbal Ansari
f2539b37e5 Use compiled string and digit regular expressions 2016-08-28 11:19:45 +05:30
Iqbal Ansari
e929d5be8e Use compiled regex instead of raw ones 2016-08-28 10:45:58 +05:30
Iqbal Ansari
961c035bc3 Trying out defstruct instead of defclass for MAL types 2016-08-27 23:52:27 +05:30
Iqbal Ansari
098095fa3e Optimize tokenizer a bit
Avoid ignore-errors forms, apparently the ignore-errors form cost around
100 milliseconds in step 1 tests
2016-08-27 23:33:29 +05:30
Iqbal Ansari
844ac73813 Add travis config for clisp, also add stats target for clisp 2016-08-27 18:13:33 +05:30
Iqbal Ansari
c505538df9 Rename common_lisp to clisp 2016-08-27 18:13:33 +05:30
Iqbal Ansari
fd834e86a8 Make mal-errors catchable, self hosting is now complete
Remove implementation of print-object for MAL objects.
Also note the slowness of the implementation
2016-08-27 18:13:33 +05:30
Iqbal Ansari
5745b6ef3e Implement step A 2016-08-27 18:13:33 +05:30
Iqbal Ansari
381ff1a47a Implement all core functions required for step 9, completes step 9 2016-08-27 18:13:33 +05:30
Iqbal Ansari
efc3d24c32 Add nil?, true?, false? and symbol? 2016-08-27 18:13:33 +05:30
Iqbal Ansari
a9e59041f7 Add 'apply' and 'map' core functions 2016-08-27 18:13:33 +05:30
Iqbal Ansari
3a470921a0 Add throw core function 2016-08-27 18:13:33 +05:30