1. Kurt Miebach
  2. dragonfly-newlisp


Greg Slepak  committed 2062a07

made DRAGONFLY_VERSION constants global

  • Participants
  • Parent commits c02b78e
  • Branches default

Comments (0)

Files changed (1)

File example-site/dragonfly-framework/dragonfly.lsp

View file
 ; DF is a convenient shorthand to the Dragonfly context
 (constant (global 'DF) Dragonfly)
+(constant (global 'DRAGONFLY_MAJOR) 0)
+(constant (global 'DRAGONFLY_MINOR) 60)
+(constant (global 'DRAGONFLY_VERSION) (format "Version %d.%d" DRAGONFLY_MAJOR DRAGONFLY_MINOR))
 ; make sure these two are defined
 (if-not DOCUMENT_ROOT (throw-error "Environment variable DOCUMENT_ROOT missing!"))
 ; !Public Constants and Variables
-; These are some of the few constants that we'll have outside of env
-(constant 'DRAGONFLY_MAJOR 0)
-(constant 'DRAGONFLY_MINOR 60)
 ;; @syntax STDOUT
 ;; This is the buffer that contains the content that will get written
 ;; to STDOUT if no errors are thrown. 'MAIN:print' and 'MAIN:println'