1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
Commit Graph

80 Commits

Author SHA1 Message Date
Jonas Lundberg
bebce74bf5 Update guide with note on reader macro with-meta
Guide was missing the deferrable step of having
a reader macro for ^ (which is included in the
tests for step A) which caused some confusion
as to what it was.

It's included in the tests/step1_read_print.mal
but not mentioned in the docs.
2017-12-30 19:18:20 +01:00
Dov Murik
59436f1a12 Add number?, fn?, macro? in stepA - tests and process guide
Ref #298
2017-10-09 20:23:39 +00:00
Hrvoje Šimić
cc52842b87 fix typo in guide 2017-09-30 13:14:06 +02:00
Joel Martin
dd4020b944 Guide: fix TODOs. Add next steps section.
Also move a few general TODOs to docs/TODO.
2017-09-21 17:35:38 -05:00
Sebastian Rasmussen
0198b7a230 Fix a number of typos in documentation/comments. 2017-09-15 20:00:15 +02:00
Joel Martin
e17aef048e Misc fixes and TODO updates.
- Truncate ruby and python stacktraces since they can get very long
  in certain cases causing problems.
- Fix Clojure West example with proper escaping.
2017-09-15 00:00:23 -05:00
boyned//Kampfkarren
185052f14d Fix guide's explanation of Regex
it didn't incude the parantheses
2017-04-12 08:22:19 -07:00
Jonas Lundberg
e1b080b401 Update README with hint on test permission failing
Ran into some problems with the <language>/run file
not having the executable flag set.

Setting +x on the run file helps this.

The error-message the python runner throws is:
Traceback (most recent call last):
  File "../runtest.py", line 227, in <module>
    r = Runner(args.mal_cmd, no_pty=args.no_pty)
  File "../runtest.py", line 105, in __init__
    env=env)
  File "/usr/lib/python3.6/subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:310: test^mymal^step0] Error 1
2017-02-03 09:27:42 +01:00
Joel Martin
16ca60daf9 guide: incorporate feedback from Nicolas Boulenguez 2016-10-08 12:23:10 -05:00
Dov Murik
6440cc5094 process/guide: Describe interop function quux-eval 2016-06-11 21:37:56 -04:00
Joel Martin
20e8dea043 Refactor to use run scripts, remove *_RUNSTEP
- Add */run script for every implementation.

- Refactor Clojure build to allow individual jar files for each step.

- Update FFI version for es6 and miniMAL to work with newer node
  versions.

The run scripts for the following could use some additional
refactoring:
- java: build individual step jar, use java -jar instead of mvn to run
- plpgsql: maybe combine plpgsql/run and plpgsql/wrap.sh
- vhdl: combine vhdl/run and vhdl/run_vhdl.sh
- vimscript: combine vimscript/run and vimscript/run_vimscript.sh
2016-05-18 22:29:18 -07:00
Joel Martin
c1ef46cb04 Link to cheatsheet at gh-pages. 2016-05-10 10:43:38 -05:00
Joel Martin
a15f76bd80 Add cheatsheet. Link to it from guide. 2016-05-10 10:34:05 -05:00
Joel Martin
a1eb30fcc9 Use more common spelling of deferrable.
Deferable is apprently a less common but correct spelling.
2016-05-10 10:26:39 -05:00
Joel Martin
4b7ee8fa27 guide: update step9, stepA diagrams.
- Add single arg `prn` as mandatory in step4 (for testing do
  side-effects).
- Re-order some deferables in the guide to more closely match the
  tests.
2016-05-09 17:46:42 -05:00
Dov Murik
0748211b32 process/guide: add vector and hash-map evaluation in step 2 2016-04-27 17:19:48 -04:00
Leandro Facchinetti
3493598834 Fix typos 2016-04-23 11:42:12 -04:00
Leandro Facchinetti
b84a50cc07 Fix space 2016-04-20 02:16:49 -04:00
Joel Martin
35bc081fe7 Merge pull request #194 from dubek/literal-empty-list
Fix handling of literal empty list in several impls
2016-04-05 09:38:19 -05:00
Dov Murik
1af7aff165 process: Fix step2_eval.txt to "handle" empty literal lists 2016-04-02 23:18:30 -04:00
Joel Martin
efa2daef57 Fix empty list eval in step2 for most languages.
I think the only remaining ones are ada, elisp, factor, and rust.
2016-04-02 18:40:49 -05:00
Dov Murik
1d10097734 process: Add literal empty list check to step3-stepA 2016-03-27 22:16:56 -04:00
Joost Kremers
1c2eab905f Several fixes to the guide 2016-03-25 21:08:11 +01:00
Wilfred Hughes
5c0526927a Tweaking text in guide.
Referring to the pseudocode in the process/ directory is important, but
it's easy to miss that detail when reading the guide for the first time.

Similarly, it's important to add a new Makefile in many cases, so
reformat to draw attention to that.
2016-03-24 21:49:00 +00:00
Dov Murik
dc79144094 process/guide.md: Add TOC; fix heading levels 2016-03-22 23:41:10 -04:00
Joel Martin
a06ef39734 Merge pull request #181 from wasamasa/fix-typos
Fix typos
2016-03-04 10:51:39 -06:00
Vasilij Schneidermann
a85b8454da Fix typos 2016-03-04 11:41:58 +01:00
Joel Martin
33e37b68a7 guide: add host-language and REPL header to stepA 2016-03-02 10:33:41 -06:00
Joel Martin
396d869e63 process: add seq and string? and other stepA fixups.
Issue #166
2016-02-16 09:59:23 -06:00
Dov Murik
507564943b guide: Document time-ms and conj 2016-02-01 11:39:36 -05:00
Omar Rayward
d717d991c4 fix typo tokens to token and remove redundant white space 2016-01-30 17:53:42 -08:00
Joel Martin
de176adc79 Merge pull request #156 from omarrayward/explain-regexp-tokenizer
Explain each regexp composing the main regexp used in the tokenizer
2016-01-29 11:48:19 -06:00
Omar Rayward
cfdf00cc7e Explain each regexp composing the main regexp used in the tokenizer 2016-01-29 08:19:10 -08:00
Joel Martin
9b4cfe03cb guide: note evaluation after macroexpansion. 2016-01-26 15:19:42 -06:00
Dov Murik
4881701ad0 process/guide: add gensym instructions to stepA 2016-01-22 23:47:54 -05:00
Dov Murik
e7ea303105 process/stepA: add gensym and clean or macro 2016-01-22 23:47:52 -05:00
Joel Martin
e7f7c14314 Merge branch 'issue130_diagram_updates' 2016-01-11 11:58:16 -06:00
Dov Murik
627bd6f766 process, tests: move atoms implementation from stepA to step6 2016-01-06 14:33:55 +02:00
rcantangus
94a954f58e Update guide.md
Fix typo; libnoise is a noise generating library.
2016-01-04 17:56:25 +11:00
Joel Martin
a46e6d5329 Update process diagrams with atoms in step6.
Related to https://github.com/kanaka/mal/pull/130
2016-01-01 23:04:54 -06:00
Sean Lee
e5737b082f quoted all make args in documentation for zsh compatibility 2015-12-09 14:49:15 -05:00
Joel Martin
8d78bc26bf All: fix read/print of \\, and \n 2015-10-30 22:05:49 -05:00
rhysd
8f41f75a29 guide: fix missing escape and typo 2015-06-04 14:02:26 +09:00
Joel Martin
a9cd654347 Add groovy implementation.
I'm away from my main workstation for a week and unfortunately, I only
copied the code but not the branch with full history so this is just
the implementation. However, the history isn't all that interesting
(mostly just the steps one at a time) and I wanted to get this out
there.
2015-05-18 19:54:18 -07:00
Joel Martin
cf70df1f12 guide: add links for fogus blog posts on interesting languages. 2015-04-23 09:32:06 -05:00
Martin Klepsch
4e3fd73bb5 remove redudant "debate" 2015-04-17 21:54:29 +02:00
Martin Klepsch
a727d6e890 escape let\* 2015-04-17 21:53:58 +02:00
Joel Martin
9eabc84127 Merge pull request #65 from petethepig/readme-fix
Fixed a typo
2015-04-10 07:50:12 -05:00
Dmitrii Filimonov
0303d60480 fixed a typo 2015-04-09 23:28:54 -07:00
Alan Shen
10a76646bf Typo fixes for several sections in the guide 2015-04-09 22:45:38 -06:00