{"description":"\u30d1\u30fc\u30b5\u3092\u4f5c\u308b\u306b\u3042\u305f\u3063\u3066\u307e\u305a\u306flexer\u304b\u3089\u3002 lexer\u3068\u7c21\u5358\u306a\u30d1\u30fc\u30b5\u3067\u5171\u901a\u3057\u3066\u3044\u308b\u306e\u306f\u300c\u6d88\u8cbb\u53ef\u80fd\u306a\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u5148\u982d\u3092\u300e\u6d88\u8cbb\u3059\u308b\u3053\u3068\u306a\u304f\u300f\u5148\u8aad\u307f\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u300d\u3068\u3044\u3046\u70b9\u3002lexer\u3060\u3068\u5165\u529b\u306e\u6587\u5b57\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u3001\u30d1\u30fc\u30b5\u3060\u3068lexer\u306e\u8fd4\u3059\u30c8\u30fc\u30af\u30f3\u30b9\u30c8\u30ea\u30fc\u30e0\u3001\u3068\u5bfe\u8c61\u306f\u7570\u306a\u308b\u304c\u3069\u3061\u3089\u3082\u300c\u5148\u8aad\u307f\u300d\u304c\u5fc5\u8981\u3002 Peekable Python\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u3067\u3042\u308biterator\u306f__next__\u3067\u6d88\u8cbb\u3057\u306a\u3044\u3068\u6b21\u306e\u8981\u7d20\u304c\u4f55\u304b\u308f\u304b\u3089\u306a\u3044\u3002iterator\u3092\u62e1\u5f35\u3057\u3066peek\u304c\u53ef\u80fd\u306a\u30af\u30e9\u30b9\u3092\u307e\u305a\u5b9a\u7fa9\u3059\u308b\uff1a class Peekable: def __init__(self, input_, k, sentinel=No\u2026","type":"rich","author_name":"zehnpaard","width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","height":"190","image_url":null,"blog_title":"Arantium Maestum","blog_url":"https://zehnpaard.hatenablog.com/","title":"Python\u3067Language Implementation Patterns\u306e\u30d1\u30fc\u30b5\u3068\u622f\u308c\u308b\u3000lexer\u3068Peekable\u30b9\u30c8\u30ea\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2021%2F09%2F07%2F064930\" title=\"Python\u3067Language Implementation Patterns\u306e\u30d1\u30fc\u30b5\u3068\u622f\u308c\u308b\u3000lexer\u3068Peekable\u30b9\u30c8\u30ea\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 - Arantium Maestum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Python","\u8a00\u8a9e\u51e6\u7406\u7cfb"],"published":"2021-09-07 06:49:30","author_url":"https://blog.hatena.ne.jp/zehnpaard/","url":"https://zehnpaard.hatenablog.com/entry/2021/09/07/064930"}