• DocumentCode
    1878161
  • Title

    Parallel lexical analysis on multi-core machines using divide and conquer

  • Author

    Barve, Aabha ; Joshi, Brijendra Kumar

  • fYear
    2012
  • fDate
    6-8 Dec. 2012
  • Firstpage
    1
  • Lastpage
    5
  • Abstract
    The first step in a multi-phase compiler is lexical analysis that collects characters of a source program and transforms them into tokens for other phases. Tools have been developed to generate such tokens automatically but sequentially. In modern era, multi-core machines are very common and hence it gives opportunity to parallelize tokenization to improve lexical analysis phase. This paper discusses three approaches to parallelize lexical analysis and compares their performances. It is observed that speedup achieved by these approaches is substantial.
  • Keywords
    divide and conquer methods; multiprocessing systems; parallel machines; program compilers; divide and conquer; multicore machine; multiphase compiler; parallel lexical analysis; parallelize lexical analysis; tokenization parallelization; Flex; Multi-core; Parallel Lexical Analysis; Processor Affinity;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Engineering (NUiCONE), 2012 Nirma University International Conference on
  • Conference_Location
    Ahmedabad
  • Print_ISBN
    978-1-4673-1720-7
  • Type

    conf

  • DOI
    10.1109/NUICONE.2012.6493218
  • Filename
    6493218