##// END OF EJS Templates
Fix
Fix

File last commit:

r64:44143cfd default
r67:d0477458 default
Show More
package.lisp
109 lines | 3.4 KiB | text/x-common-lisp | CommonLispLexer
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1
(in-package cl-user)
Localization. Renamed to txt2web
r46 (defpackage :txt2web.js)
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25
Localization. Renamed to txt2web
r46 (defpackage :txt2web.main
(:use :cl :ps :txt2web.js)
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 (:export #:api-call #:by-id
Bugfixes
r41 #:has
Globals instead of ROOT object
r39
Fix two regressions
r64 #:*globals #:*default-globals #:*objs #:*current-location
Globals instead of ROOT object
r39 #:*started-at #:*timer-interval #:*timer-obj #:*loaded-games
#:*acts #:*state-stash #:*playing #:*locals
Bugfixes to optimized variables. CURACT, DELACT
r40 #:*games #:*main-game #:*locs #:*menu-resume
Globals instead of ROOT object
r39 ))
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25
Optimizations: JUMP-loops, FOR loops, and variable access
r37 (defpackage :code-walker
(:use :cl)
(:export #:deftransform
#:deftransform-stop
#:walk
#:whole
#:walk-continue))
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 ;;; API functions
Localization. Renamed to txt2web
r46 (defpackage :txt2web.api
(:use :cl :ps :txt2web.main :txt2web.js)
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 (:export #:with-frame #:with-call-args
#:stash-state
Fix service variables
r42 #:report-error #:sleep #:init-dom #:call-serv-loc #:*serv-vars*
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 #:newline #:clear-id #:prepare-contents #:get-id #:set-id #:append-id
Fix two regressions
r64 #:get-result #:call-loc #:call-act
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 #:get-frame #:add-text #:get-text #:clear-text #:enable-frame
#:add-act #:del-act #:clear-act #:update-acts
Fix service variables
r42 #:set-str-element #:set-any-element #:set-serv-var
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 #:*var #:new-value #:index-num #:get #:set #:kill
#:var-real-name #:ensure-var #:var-ref #:get-var #:set-var
#:get-array #:set-array #:kill-var #:array-size
#:push-local-frame #:pop-local-frame #:current-local-frame #:new-local
#:update-objs
#:menu
#:clean-audio
#:show-image
#:opengame #:savegame
Fix two regressions
r64 #:init-globals
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 ))
;;; QSP library functions and macros
Localization. Renamed to txt2web
r46 (defpackage :txt2web.lib
(:use :cl :ps :txt2web.main :txt2web.js)
(:local-nicknames (#:api :txt2web.api)
Optimizations: JUMP-loops, FOR loops, and variable access
r37 (#:walker :code-walker))
txt->qsps, remove FOR and IMG, broken LOCAL and LOOP
r60 (:export #:str #:exec #:qspblock #:qsploop #:game #:location
Fix labels
r28 #:qspcond #:qspvar #:set #:local #:jump
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25
#:killvar #:killall
#:obj #:loc #:no
#:qspver #:curloc
#:rnd #:qspmax #:qspmin
#:arrsize #:len
#:mid #:ucase #:lcase #:trim #:replace #:val #:qspstr
#:exit #:desc
#:showstat #:msg
#:showacts #:delact #:cla
#:showobjs #:countobj #:getobj
#:isplay
#:view
#:showinput
#:wait #:settimer
#:local
#:opengame #:savegame
#:goto #:xgoto
#:rand
#:copyarr #:arrpos #:arrcomp
#:instr #:isnum #:strcomp #:strfind #:strpos
#:iif
#:gosub #:func
#:dynamic #:dyneval
#:main-p #:main-pl #:main-nl #:maintxt #:desc #:main-clear
#:stat-p #:stat-pl #:stat-nl #:stattxt #:stat-clear #:cls
#:curacts
#:addobj #:delobj #:killobj
#:menu
#:play #:close #:closeall
#:refint
#:usertxt #:cmdclear #:input
#:msecscount
#:rgb
#:openqst #:addqst #:killqst
))
Localization. Renamed to txt2web
r46 (setf (ps:ps-package-prefix "TXT2WEB.MAIN") "qsp_")
(setf (ps:ps-package-prefix "TXT2WEB.API") "qsp_api_")
(setf (ps:ps-package-prefix "TXT2WEB.LIB") "qsp_lib_")
Benchmark, bugfixes, code walker
r36
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 ;;; The compiler
Localization. Renamed to txt2web
r46 (defpackage :txt2web
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 (:use :cl)
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25 (:local-nicknames (#:p #:esrap)
Localization. Renamed to txt2web
r46 (#:lib :txt2web.lib)
(#:api :txt2web.api)
(#:main :txt2web.main)
Optimizations: JUMP-loops, FOR loops, and variable access
r37 (#:walker :code-walker))
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 (:export #:parse-file #:entry-point))
Use Parenscript's minifier and obfuscator... and namespaces. SAVES CURRENTLY BROKEN
r25