Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added some more programs for Alan (mergesort, mergesort with recursive merge, binary modular exponentiation, knapsack). I also transcribed the Alan code to Python by making as little changes as possible so as to be able to then test its correctness. One can run the FILE_test.py and it will print OK if the tests pass (or an AssertionError if the tests fail). When we complete the Alan compiler, we will be able to test the Alan executables by just changing the CMD variable from the Python file to the Alan executable file.
What's more, I created the necessary file alan.vim to make VIM be able to do syntax highlighting when editing Alan code. Although it is yet not perfect and could take some improvements. One can install it by copying alan.vim to ~/.vim/syntax/ and then writing 'au BufRead,BufNewFile *.alan set filetype=alan' in ~/.vimrc.