Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
K
Kawa
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 3
    • Merge Requests 3
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kashell
  • Kawa
  • Merge Requests
  • !19

Closed
Opened Nov 09, 2017 by Helmut Eller@h.ellerContributor
  • Report abuse
Report abuse

Add support for dynamic variables in the arglist of LAMBDA.

  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 4

This inserts a FluidLetExp around the body of a lambda if some argument is a dynamic variable.

I'm not sure what the intented meaning of the IS_DYNAMIC, IS_FLUID, and INDIRECT_BINDING flags is. My interpretation is that IS_DYNAMIC is set by DEFVAR and that IS_FLUID is some auxilary flag used by fluid-let. Not sure what role INDIRECT_BINDING plays here. Maye be you can have a look to see if I used the flags correctly.

  • gnu/commonlisp/lang/OrdinaryLambda.java (rewriteFormals): Detect dynamic variables and set the IS_FLUID flag and decl.base. (auxillaryRewrite): Insert a FluidLetExp if needed. (bindDynamicVars): New helper.

  • gnu/commonlisp/testsuite/lang-test.lisp: Add tests for dynamic variables in lambda lists.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: kashell/Kawa!19
Source branch: lambda-dynbind