uahgi2/uahgi-ng/tokenizer.rkt
Tan Kian-ting 4c117df0c5
Some checks failed
CI / Build on Racket 'stable' (BC) (push) Has been cancelled
CI / Build on Racket 'stable' (CS) (push) Has been cancelled
CI / Build on Racket 'current' (BC) (push) Has been cancelled
CI / Build on Racket 'current' (CS) (push) Has been cancelled
add uahgi-ng
2025-10-03 00:25:16 +08:00

9 lines
No EOL
213 B
Racket

#lang racket/base
(require "lexer.rkt" parser-tools/lex racket/port)
(define (make-tokenizer ip [path #f])
(port-count-lines! ip)
(file-path path)
(looping-lex (port->string ip)))
(provide make-tokenizer)