Is it possible to write a macro in Scheme that expands differently depending upon whether the macro was used at the top level or internally? I'm primarily interested in a solution that works in Guile Scheme.
Top Level or Not Dependent Scheme Macro Expansion
60 views Asked by sidhu1f At
1
There are 1 answers
Related Questions in MACROS
- drop down list to decide which range my graph will plot
- Catia V5 Dynamic Hidden Line Removal With Macro Please Help Me
- Convert macro to a function but cannot concatenate inputs using std::stringstream
- Common Lisp: How to use a macro within a macro?
- How to remove the "*" in c++ macro args?
- Caused by : java. awt. HeadlessException
- When I click "enable macros" on my PowerPoint presentation, I get an error saying controls can't be activated. They're not registered on this computer
- SAS Macro Variables
- Generate unique type parameter in procedural derive macro
- unexpected interaction between macroexpand-1 and macrolet
- Can C macros be expanded in flex?
- External macro definition in header
- How to undefine and redefine a macro in C++?
- How to check if a macro argument is an integer literal in C
- How come clang and gcc don't produce a cast warning for this openssl macro, but do otherwise?
Related Questions in SCHEME
- Lambda function not returning any value
- Encode "ä", "ö", "ü" and "ß" in scheme (file-output-port)
- How to programmatically expand the let* family of functions in racket
- Is there a way to implement named let as macro to make it work with Petrofsky let
- Scheme Question - How can I check if there are a list of pairs
- call/cc with Break procedure
- How to return in Scheme?
- SiCP Exercise 1.45
- Exercise 12.10 from the book Scheme and the art of programming
- How to write a Scheme function that uses call/cc to calculate factorial?
- Why can't a Scheme macro with the name "if" be defined?
- How to implement "if" in normal order in Scheme?
- Collision with syntax-rules identfiers and global names
- How to use let-values in Gambit Scheme?
- Racket: Issue with Sorting Strings in Ascending Order
Related Questions in GUILE
- GNU Guile Scheme on Windows
- How to learn the file paths of every loaded module in a Guile program?
- WIX toolset 3.11.2 preserve source files timestamps
- What is #~ in scheme?
- How can I load a foreign library using Guile Scheme?
- Why defining a recursive-display procedure in Guile causes infinite loop?
- Loading srfi in guile scheme
- Guile can't find Module
- Can I write a loop procedure in Guile?
- How to pass MAKE variables to guile
- How can I use dynamic programming in Scheme to solve the Coin Change problem?
- How to match any element?
- Guile Scheme - How to pass C struct value back to Guile for scripting
- Makevars cannot find libguile.h but the file exists
- early exiting a recursive procedure
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you mean "internal" in the sense of internal definitions, then it might work to have the macro redefine itself in the nested scope.
Guile result: