Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • A assignment-2-dictionary
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • programming-languages
  • cse-programming-languages-fall-2023
  • assignment-2-dictionary
  • Merge requests
  • !20

Closed
Created Oct 07, 2023 by Mihail Butvin@butvinm
  • Report abuse
Report abuse

P3230, Mihail Butvin

  • Overview 12
  • Commits 25
  • Changes 18

My implementation of the colon macros is quite different from the common one. Instead of storing strings of keys and values directly in the dictionary entry, I store them outside of the record. Therefore, each entry contains only pointers (as actually required by the task, but everyone ignores that). This solution provides a more convenient way to access entry data using label offsets (a few simple macros for simplifying that are presented in colon.inc) and also allows the use of the colon macro with a pointer to reuse strings.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: prerelease