{"id":37017057,"url":"https://github.com/felipebz/flr","last_synced_at":"2026-01-14T01:57:10.995Z","repository":{"id":57719247,"uuid":"378495100","full_name":"felipebz/flr","owner":"felipebz","description":"A lightweight Java library which provides everything required to analyse any piece of source code.","archived":false,"fork":false,"pushed_at":"2025-12-31T19:47:01.000Z","size":7585,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T06:27:20.593Z","etag":null,"topics":["lexer","parser","static-analysis"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipebz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-19T20:00:46.000Z","updated_at":"2025-12-22T09:49:23.000Z","dependencies_parsed_at":"2024-05-30T00:55:07.550Z","dependency_job_id":"f6d779b6-4211-4894-82b8-e15d605a68bf","html_url":"https://github.com/felipebz/flr","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/felipebz/flr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fflr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fflr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fflr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fflr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipebz","download_url":"https://codeload.github.com/felipebz/flr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipebz%2Fflr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"ssl_error","status_checked_at":"2026-01-14T01:40:32.775Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lexer","parser","static-analysis"],"created_at":"2026-01-14T01:57:10.417Z","updated_at":"2026-01-14T01:57:10.990Z","avatar_url":"https://github.com/felipebz.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FLR\n\n[![Build](https://github.com/felipebz/flr/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/felipebz/flr/actions/workflows/build.yml)\n[![Quality Gate Status](https://sonarqube.felipebz.com/api/project_badges/measure?project=com.felipebz.flr%3Aflr\u0026metric=alert_status\u0026token=sqb_6d18637c91a4b22ae95a16b83a41be69b7aa900d)](https://sonarqube.felipebz.com/dashboard?id=com.felipebz.flr%3Aflr)\n\nFLR is a lightweight Java library which provides everything required to analyse any piece of source code. Using FLR, you can quickly create a lexer, a parser, and some AST visitors to implement quality rules or compute measures.\n\nFLR is a fork of [SonarSource Language Recognizer](https://github.com/SonarSource/sslr/). \n\n## Features\nHere are the main features of FLR:\n\n* Easy integration and use\n   * Just add a dependency on a jar file (or several jars, according to what you want to use: lexer/parser, toolkit...)\n   * No special step to add to the build process\n   * No \"untouchable\" generated code\n* Everything in Java\n   * Definition of grammar and lexer directly in code, using Java or Kotlin\n   * No break in IDE support (syntax highlighting, code navigation, refactoring, etc)\n  \n### FLR in action\nIf you want to start working with FLR, you must be familiar with the following standard concepts: Lexical Analysis, Parsing Expression Grammar and AST (Abstract Syntax Tree). \n\nFLR also comes with a MiniC language which has been created to easily and simply test all FLR features. This MiniC language can be a good starting point for a beginner to understand how to implement/define the different mandatory layers to analyse a language:\n\n* [Lexer](https://github.com/felipebz/flr/blob/main/flr-testing-harness/src/main/kotlin/com/felipebz/flr/test/minic/MiniCLexer.kt)\n* [Grammar](https://github.com/felipebz/flr/blob/main/flr-testing-harness/src/main/kotlin/com/felipebz/flr/test/minic/MiniCGrammar.kt)\n* [Parser](https://github.com/felipebz/flr/blob/main/flr-testing-harness/src/main/kotlin/com/felipebz/flr/test/minic/MiniCParser.kt)\n* [Toolkit](https://github.com/felipebz/flr/blob/main/flr-testing-harness/src/main/kotlin/com/felipebz/flr/test/minic/MiniCToolkit.kt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebz%2Fflr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipebz%2Fflr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipebz%2Fflr/lists"}