4 个仓库
Lexical analyzers that break raw source code into a sequence of discrete tokens.
Distinct from Lexical Tokenizers: A general implementation for Go source code, whereas the sibling is specific to JavaScript.
Explore 4 awesome GitHub repositories matching programming languages & runtimes · Source Code Tokenizers. Refine with filters or upvote what's useful.
go-ast-book 是一系列专注于抽象语法树(AST)分析、编译器开发和静态代码验证的教育和技术资源。它提供了解析、遍历和分析 Go 源代码以提取语义含义的指南和手册。 该项目作为构建编译器前端的参考,涵盖了将高级代码转换为中间表示和静态单赋值形式的过程。它还提供了使用这些技术开发语言工具和执行静态代码分析的说明。 这些资源涵盖了广泛的静态分析能力,包括词法标记化、表达式和声明的结构化解析,以及源文件的坐标跟踪。它还详细介绍了语义分析过程,如标识符解析、类型正确性验证,以及针对并发和延迟执行的控制流分析。
Breaks down source code into identifiers and operators to prepare text for structural analysis.
该库是一个 PHP 源代码词法分析器和静态分析工具,将原始 PHP 代码转换为离散的标记(token)和结构化的 XML 表示。它作为一个序列化器,将标记流转换为机器可读的格式,以便进行程序化分析和源代码树操作。 该项目使用基于流的 XML 序列化和基于片段的缓冲区写入,以在处理大文件时保持较低的内存开销。它允许自定义 XML 命名空间配置,以确保模式兼容性并避免转换过程中的命名冲突。 该工具包涵盖了词法分析和将源代码转换为结构化 XML 的功能,以支持静态代码分析工作流。它在单次传递中处理标记流,将扁平的源代码列表组织成层次化的 XML 结构。
Converts PHP source code into discrete tokens to enable programmatic analysis and processing.
CodeGen 是一个经过训练的大语言模型与程序合成模型,旨在生成功能性源代码。它利用神经网络架构,根据自然语言描述或部分代码片段合成可执行代码。 该模型通过预测并填充程序中缺失的代码部分,实现了自动化程序合成与 AI 辅助编码。它将自然语言描述转换为功能性编程逻辑,以自动化样板代码与业务逻辑的创建。
Converts source code into numerical representations using a specialized vocabulary optimized for programming language syntax.
This project is an interactive JavaScript course and beginner programming guide designed to teach fundamental scripting logic and language syntax. It functions as a web-based coding tutorial that transforms markdown-based lessons into a static site curriculum for learning web development basics. The resource features a browser-based code sandbox that allows for the execution of JavaScript snippets within a secure environment for immediate feedback. Lessons are organized into a linear sequence of modules to provide a structured onboarding process for those new to software development. The sys
Uses lexical analysis to tokenize JavaScript source code for the purpose of applying syntax highlighting.