메뉴 건너뛰기




Volumn , Issue , 2006, Pages 160-169

A monadic approach for avoiding code duplication when staging memoized functions

Author keywords

Code duplication; Fixed points; Monads; Multi stage programming; Partial evaluation; Program generation; Program specialization; Staging

Indexed keywords

ALGORITHMS; CODES (SYMBOLS); COMPUTER SOFTWARE; DYNAMIC PROGRAMMING; SEMANTICS; STORAGE ALLOCATION (COMPUTER);

EID: 34250646270     PISSN: None     EISSN: None     Source Type: Conference Proceeding    
DOI: 10.1145/1111542.1111570     Document Type: Conference Paper
Times cited : (34)

References (51)
  • 6
    • 84983098357 scopus 로고    scopus 로고
    • Closed types as a simple approach to safe imperative multi-stage programming
    • Proceedings of the International Colloquium on Automata, Languages, and Programming JCALP '00, of, Springer-Verlag, July
    • C. Calcagno, E. Moggi, and W. Taha. Closed types as a simple approach to safe imperative multi-stage programming. In Proceedings of the International Colloquium on Automata, Languages, and Programming (JCALP '00), volume 1853 of Lecture Notes in Computer Science, pages 25-36. Springer-Verlag, July 2000.
    • (2000) Lecture Notes in Computer Science , vol.1853 , pp. 25-36
    • Calcagno, C.1    Moggi, E.2    Taha, W.3
  • 7
    • 35048882935 scopus 로고    scopus 로고
    • ML-like inference for classifiers
    • Proceedings of the European Symposium on Programming ESOP '04, of, Springer-Verlag, Mar
    • C. Calcagno, E. Moggi, and W. Taha. ML-like inference for classifiers. In Proceedings of the European Symposium on Programming (ESOP '04), volume 2986 of Lecture Notes in Computer Science. Springer-Verlag, Mar. 2004.
    • (2004) Lecture Notes in Computer Science , vol.2986
    • Calcagno, C.1    Moggi, E.2    Taha, W.3
  • 8
    • 35248851156 scopus 로고    scopus 로고
    • Implementing multistage languages using ASTs, gensym, and reflection
    • K. Czarnecki, F. Pfenning, and Y. Smaragdakis, editors, Proceedings of the ACM SIGPLAN/SIGSOFT International Conference on Generative Programming and Component Engineering GPCE '03, of, Springer-Verlag, Sept
    • C. Calcagno, W. Taha, L. Huang, and X. Leroy. Implementing multistage languages using ASTs, gensym, and reflection. In K. Czarnecki, F. Pfenning, and Y. Smaragdakis, editors, Proceedings of the ACM SIGPLAN/SIGSOFT International Conference on Generative Programming and Component Engineering (GPCE '03), volume 2830 of Lecture Notes in Computer Science. Springer-Verlag, Sept. 2003.
    • (2003) Lecture Notes in Computer Science , vol.2830
    • Calcagno, C.1    Taha, W.2    Huang, L.3    Leroy, X.4
  • 9
    • 33646133205 scopus 로고    scopus 로고
    • Multi-stage programming with functors and monads: Eliminating abstraction overhead from generic code
    • R. Glück and M. Lowry, editors, Proceedings of the ACM International Conference on Generative Programming and Component Engineering GPCE'05, of, Springer-Verlag, Sept
    • J. Carette and O. Kiselyov. Multi-stage programming with functors and monads: Eliminating abstraction overhead from generic code. In R. Glück and M. Lowry, editors, Proceedings of the ACM International Conference on Generative Programming and Component Engineering (GPCE'05), volume 3676 of Lecture Notes In Computer Science. Springer-Verlag, Sept. 2005.
    • (2005) Lecture Notes In Computer Science , vol.3676
    • Carette, J.1    Kiselyov, O.2
  • 10
    • 84947276308 scopus 로고
    • For a better support of static data flow
    • R. Hughes, editor, Proceedings of the ACM SIGPLAN/SIGARCH Functional Programming Languages and Computer Architecture FPCA '91, of, ACM Press, Springer-Verlag, Aug
    • C. Consel and O. Danvy. For a better support of static data flow. In R. Hughes, editor, Proceedings of the ACM SIGPLAN/SIGARCH Functional Programming Languages and Computer Architecture (FPCA '91), volume 523 of Lecture Notes in Computer Science, pages 496-519. ACM Press, Springer-Verlag, Aug. 1991.
    • (1991) Lecture Notes in Computer Science , vol.523 , pp. 496-519
    • Consel, C.1    Danvy, O.2
  • 13
    • 1442360056 scopus 로고    scopus 로고
    • Monads as a theoretical foundation for AOP
    • Proceedings of the International Workshop on Aspect-Oriented Programming at ECOOP, of, Springer-Verlag
    • W. DeMeuter. Monads as a theoretical foundation for AOP. In Proceedings of the International Workshop on Aspect-Oriented Programming at ECOOP, volume 1357 of Lecture Notes in Computer Science, page 25. Springer-Verlag, 1997.
    • (1997) Lecture Notes in Computer Science , vol.1357 , pp. 25
    • DeMeuter, W.1
  • 14
    • 33646161364 scopus 로고    scopus 로고
    • Available online from
    • Dynamic Programming Benchmark. Available online from http://www. metaocaml.org/examples/dp, 2005.
    • (2005) Dynamic Programming Benchmark
  • 16
    • 33646129674 scopus 로고    scopus 로고
    • Implicitly heterogeneous multi-stage programming
    • R. Glück and M. Lowry, editors, Proceedings of the ACM International Conference on Generative Programming and Component Engineering GPCE'05, of, Springer-Verlag, September
    • J. Eckhardt, R. Kaiabachev, E. Pasalic, K. Swadi, and W. Taha. Implicitly heterogeneous multi-stage programming. In R. Glück and M. Lowry, editors, Proceedings of the ACM International Conference on Generative Programming and Component Engineering (GPCE'05), volume 3676 of Lecture Notes In Computer Science. Springer-Verlag, September 2005.
    • (2005) Lecture Notes In Computer Science , vol.3676
    • Eckhardt, J.1    Kaiabachev, R.2    Pasalic, E.3    Swadi, K.4    Taha, W.5
  • 18
    • 84888865097 scopus 로고    scopus 로고
    • Normalization by evaluation for the computational lambda-calculus
    • S. Abramsky, editor, Proceedings of the International Conference on Typed Lambda Calculi and Applications TLCA '01, of, Springer-Verlag, May
    • A. Filinski. Normalization by evaluation for the computational lambda-calculus. In S. Abramsky, editor, Proceedings of the International Conference on Typed Lambda Calculi and Applications (TLCA '01), volume 2044 of Lecture Notes in Computer Science, pages 151-165. Springer-Verlag, May 2001.
    • (2001) Lecture Notes in Computer Science , vol.2044 , pp. 151-165
    • Filinski, A.1
  • 20
    • 0032681068 scopus 로고    scopus 로고
    • M. Frigo. A Fast Fourier Transform compiler. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI '99), pages 169-180. ACM Press, May 1999.
    • M. Frigo. A Fast Fourier Transform compiler. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI '99), pages 169-180. ACM Press, May 1999.
  • 24
    • 0033751744 scopus 로고    scopus 로고
    • Generalising monads to arrows
    • May
    • R. Hughes. Generalising monads to arrows. Science of Computer Programming, 37:67-111, May 2000.
    • (2000) Science of Computer Programming , vol.37 , pp. 67-111
    • Hughes, R.1
  • 27
    • 33645970683 scopus 로고    scopus 로고
    • Relating FFTW and split radix
    • Z. Wu, M. Guo, C. Chen, and J. Bu, editors, Proceedings of the International Conference on Embedded Software and Systems ICESS '04, of, Springer-Verlag, Dec
    • O. Kiselyov and W. Taha. Relating FFTW and split radix. In Z. Wu, M. Guo, C. Chen, and J. Bu, editors, Proceedings of the International Conference on Embedded Software and Systems (ICESS '04), volume 3605 of Lecture Notes in Computer Science. Springer-Verlag, Dec. 2004.
    • (2004) Lecture Notes in Computer Science , vol.3605
    • Kiselyov, O.1    Taha, W.2
  • 33
    • 34250618183 scopus 로고    scopus 로고
    • Y in practical programs (extended abstract)
    • Unpublished manuscript
    • B. McAdam. Y in practical programs (extended abstract). Unpublished manuscript.
    • McAdam, B.1
  • 34
    • 33745982287 scopus 로고    scopus 로고
    • Dynamic specialization of XC6200 FPGAs by partial evaluation
    • R. W. Hartenstein and A. Keevallik, editors, Proceedings of the International Workshop on Field-Programmable Logic and Applications FPL '98, of, Springer-Verlag, Aug
    • N. McKay and S. Singh. Dynamic specialization of XC6200 FPGAs by partial evaluation. In R. W. Hartenstein and A. Keevallik, editors, Proceedings of the International Workshop on Field-Programmable Logic and Applications (FPL '98), volume 1482 of Lecture Notes in Computer Science, pages 298-307. Springer-Verlag, Aug. 1998.
    • (1998) Lecture Notes in Computer Science , vol.1482 , pp. 298-307
    • McKay, N.1    Singh, S.2
  • 37
    • 0026188821 scopus 로고
    • Notions of computation and monads
    • E. Moggi. Notions of computation and monads. Information and Computation, 93(1), 1991.
    • (1991) Information and Computation , vol.93 , Issue.1
    • Moggi, E.1
  • 38
    • 35248837374 scopus 로고    scopus 로고
    • A monadic multi-stage metalanguage
    • A. Gordon, editor, Proceedings of Foundations of Software Science and Computation Structures FOSSACS '03, of, Springer-Verlag, Apr
    • E. Moggi and S. Fagorzi. A monadic multi-stage metalanguage. In A. Gordon, editor, Proceedings of Foundations of Software Science and Computation Structures (FOSSACS '03), volume 2620 of Lecture Notes in Computer Science. Springer-Verlag, Apr. 2003.
    • (2003) Lecture Notes in Computer Science , vol.2620
    • Moggi, E.1    Fagorzi, S.2
  • 40
    • 34250649992 scopus 로고    scopus 로고
    • Oregon Graduate Institute Technical Reports. P.O. Box 91000, Portland, OR 97291-1000.USA. Available online from http://www.cse.ogi.edu/tech-reports/.
    • Oregon Graduate Institute Technical Reports. P.O. Box 91000, Portland, OR 97291-1000.USA. Available online from http://www.cse.ogi.edu/tech-reports/.
  • 43
    • 0035466055 scopus 로고    scopus 로고
    • A hybrid approach to online and offline partial evaluation
    • E. Sumii and N. Kobayashi. A hybrid approach to online and offline partial evaluation. Higher-Order and Symbolic Computation, 14(2/3): 101-142, 2001.
    • (2001) Higher-Order and Symbolic Computation , vol.14 , Issue.2-3 , pp. 101-142
    • Sumii, E.1    Kobayashi, N.2
  • 44
    • 0003678579 scopus 로고    scopus 로고
    • PhD thesis, Oregon Graduate Institute of Science and Technology, Available from [40
    • W. Taha. Multi-Stage Programming: Its Theory and Applications. PhD thesis, Oregon Graduate Institute of Science and Technology, 1999. Available from [40].
    • (1999) Multi-Stage Programming: Its Theory and Applications
    • Taha, W.1
  • 49
    • 34250654775 scopus 로고    scopus 로고
    • Continuation-based partial evaluation without continuations
    • R. Cousot, editor, Proceedings of the International Symposium on Static Analysis SAS '03, of, Springer-Verlag
    • P. Thiemann. Continuation-based partial evaluation without continuations. In R. Cousot, editor, Proceedings of the International Symposium on Static Analysis (SAS '03), volume 2694 of Lecture Notes in Computer Science, pages 366-382. Springer-Verlag, 2003.
    • (2003) Lecture Notes in Computer Science , vol.2694 , pp. 366-382
    • Thiemann, P.1
  • 51
    • 84976857924 scopus 로고
    • Automatic online partial evaluation
    • Proceedings of the ACM SIGPLAN/SIGAKCH Conference on Functional programming languages and computer architecture, FPCA '91, of, Springer-Verlag New York, Inc, Aug
    • D. Weise, R. Conybeare, E. Ruf, and S. Seligman. Automatic online partial evaluation. In Proceedings of the ACM SIGPLAN/SIGAKCH Conference on Functional programming languages and computer architecture. (FPCA '91), volume 523 of Lecture Notes in Computer Science, pages 165-191. Springer-Verlag New York, Inc., Aug. 1991.
    • (1991) Lecture Notes in Computer Science , vol.523 , pp. 165-191
    • Weise, D.1    Conybeare, R.2    Ruf, E.3    Seligman, S.4


* 이 정보는 Elsevier사의 SCOPUS DB에서 KISTI가 분석하여 추출한 것입니다.