smeghead

Results 11 comments of smeghead

I think it's a great idea to help people understand more about recur through blog posts. First, I was curious about what kind of error message Clojure outputs in the...

I sometimes use REPL to test the behavior of a function. If `def` or `defn` cannot be redefined, I have to rerun REPL many times. Wouldn't it be more convenient...

Hi @jenshaase @Chemaclass This is my opinion. (again) I believe that REPL is an important feature for the Lisp family of programming languages. When I use phel for various programming,...

> result the macro expansion without the evaluation Yes, this is just what I want to check. This function is almost for debugging.

@Chemaclass First, I attempted to create an experimental draft implementation. In `clojure`, `macroexpand` was implemented as a clojure function, but in `phel` it seemed difficult to implement as a function,...

@Chemaclass I pushed experimental draft branch. https://github.com/phel-lang/phel-lang/tree/feat/add-macroexpand https://github.com/phel-lang/phel-lang/blob/6fcdfeb79e5a5c957120c91d5e7ebd6de19d8b77/src/php/Compiler/Domain/Analyzer/Ast/MacroExpandNode.php#L26-L29 I tried to start implementing a `quoteNode` method to quote a Node, but it would probably be difficult to implement because it...

@Chemaclass It was very difficult to implement macroexpand on my own, so the work has not progressed. However, my original goal was to have a function that would be useful...

It is a bit odd that in the post-compilation PHP script, I do not see the information for the values 0 and "HELO" evaluated at the end of `(case value...

I suspect that the unintended behavior in the REPL is happening because of the behavior in phel where "(single quote) is allowed as part of the symbol's name. ``` λ...