-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite parse options clean #10
base: develop
Are you sure you want to change the base?
Rewrite parse options clean #10
Conversation
Thank you for such big pull request.
executes The rest of changes are very greatful but points mentioned above are concerned. |
ok, I read the comments. I will quickly fix those probelms. Thanks! |
Regarding those comments, since there were no test scripts before, it was as if none of them were specified. For each of those specifications (like -e should append its arguments and the lisp should run the concatenated string through), we should add a test for it. Only after doing so should the behavior be statically and formally specified. |
I'll make up the issues threads for each of those comments, in my own repo. |
I make some more suggestions and comments. Firstly, I guess --version is less used, while modifying the verbosity is common among many utilities. Secondly,
Since Thirdly,
Modification to |
|
thanks, now I'm back in japan. -V 👍 Regarding concatenated I think I have two ideas about it. 1st one is an implementation idea that does not rely on the explicit string concatenation seen in the previous code (which prevents the evaluations under distinctly separated environment). Another one is providing |
hmm, it might be odd to see Capicalized verbosity options like |
I'm not sure |
Now to summarise: Fixed:
I think -i is a good idea, not to be dismissed. Please don't make it obsolete. Rather, write a shortest code that reproduce the same error, then turn it into a test script.
|
Fixed:
Not fixed yet / discussion remains:
|
Regarding benchmarks, I wish If I had a benchmark script. I admit that the current implementation is not so optimized, but just telling me how you've measured the loading speed is very helpful. Regarding how we can reduce the loading time, However I have another & easier & ANSI compliant method. Why not just compile-file script.lisp? |
Thank you a lot of great works. About About benchmark and related: I simply compared |
just done. I used The result is, super speedup!
The problem might be sbcl-system. |
I ensured the benchmark works correctly on sbcl, ccl, clisp. |
Now, the basic testing facility is fully set up. Just go to |
Due to the poor markdown mode implementation on emacs, the #! code is treated as a section. nonsense, but using indents solves this problem.
added 'git' option in cim_installer. Rather than providing the main repository only, this change also allows to fetch and retrieve the archive from any specified git repository. This is helpful during debugging.
Split the script and the library. Everything is first compiled by asdf. Loading a file usually spends more time than loading a compiled fasl file. There are three packages now. They are cim.impl, cim.repl, cim. cim.repl implements a colored repl. cim.impl implements most functionalities within it, and exports lots of symbols. Essentially, almost all symbols are exported for testing. -- only the test package (cim.test) imports them. cim Primary package for the users.
It alter the files to be loaded between asdf and build.sh. For details and how it works, see lib/debug.lisp and lib/no-debug.lisp. I also added verbosity to make-dispatcher-function.
…y whitespace is inserted
…n bit and use it. This results in a super-speedup!
Finally, it's now able to merge. |
TODO:
|
I'm trying to merge this patch but it's very challenging. |
major deferrences:
open
and usewith-open-file
etc.basic functions like
cl -e (print 1)
now works.TODOs: