Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 2,690
    • Issues 2,690
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 24
    • Merge Requests 24
  • Packages
    • Packages
    • Container Registry
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • CMake
  • CMakeCMake
  • Issues
  • #19958

Closed
Open
Opened Nov 11, 2019 by jakubrak@jakubrak
  • Report abuse
  • New issue
Report abuse New issue

Decouple command parsing from execution

I am willing to do refactoring described below and curious about opinions.

Currently in CMake command parsing is tightly coupled with command execution. This makes impossible to reuse parsing code for e.g. syntax highlighting, code completion in IDEs or code formatting.

The idea is to decouple model creation and parsing completely. Parsed data can be represented e.g. as AST (Abstract Syntaxt Tree). Also it would be great if it would be linked into separate library and/or executable for client reuse.

My branch: 19958_Decouple_command_parsing_from_execution

Edited Nov 17, 2019 by jakubrak
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: cmake/cmake#19958