Skip to content

Instantly share code, notes, and snippets.

@rikkimax
Last active May 5, 2018 10:44
Show Gist options
  • Save rikkimax/0aca39d44425ad0a4ed64d40a183ce09 to your computer and use it in GitHub Desktop.
Save rikkimax/0aca39d44425ad0a4ed64d40a183ce09 to your computer and use it in GitHub Desktop.
dmd as a library task list
  • Move into a utility sub package:
    • dmd.console
    • dmd.entity
    • dmd.utf
    • dmd.root.array
    • dmd.root.hash
    • dmd.root.outbuffer
    • dmd.root.stringtable
  • dmd.errors
    • Make wrappers switch to D's variadic arguments
  • dmd.identifier
    • Create a deinitialization function which performs reset's
  • dmd.lexer
    • Make Lexer.stringbuffer private not __gshared
  • dmd.tokens
    • Isolate initialization code into its own function, make call to Identifier.initTable only on demand
    • Remove module constructor
  • dmd.compiler: Let's make it the lifetime management module of the library
    • init+deinit free-functions for lexer (in right order)
  • dub.sdl:
    • Remove preGenerateCommands shell script, use rdmd
    • Make pregenerateCommands platform independent
@rikkimax
Copy link
Author

rikkimax commented May 5, 2018

PR 8217

  • dmd.identifier
    • Create a deinitialization function which performs reset's
  • dmd.tokens
    • Isolate initialization code into its own function
    • Remove module constructor
  • dmd.compiler: Let's make it the lifetime management module of the library
    • init+deinit free-functions for lexer (in right order)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment