{"id":20887749,"url":"https://github.com/alimpfard/nlp-lex","last_synced_at":"2025-05-12T19:33:57.582Z","repository":{"id":57446321,"uuid":"212617437","full_name":"alimpfard/nlp-lex","owner":"alimpfard","description":"Hopefully a lexer-generator that doesn't fucking suck","archived":false,"fork":false,"pushed_at":"2022-12-12T13:55:49.000Z","size":3783,"stargazers_count":9,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T05:47:02.439Z","etag":null,"topics":["hmm-viterbi-algorithm","lexer-generator","nlp-tool","regex-engine"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alimpfard.png","metadata":{"files":{"readme":"README-cominsys.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-03T15:45:38.000Z","updated_at":"2024-12-07T09:45:04.000Z","dependencies_parsed_at":"2023-01-27T20:30:42.235Z","dependency_job_id":null,"html_url":"https://github.com/alimpfard/nlp-lex","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimpfard%2Fnlp-lex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimpfard%2Fnlp-lex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimpfard%2Fnlp-lex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimpfard%2Fnlp-lex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alimpfard","download_url":"https://codeload.github.com/alimpfard/nlp-lex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253808616,"owners_count":21967568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hmm-viterbi-algorithm","lexer-generator","nlp-tool","regex-engine"],"created_at":"2024-11-18T08:22:33.114Z","updated_at":"2025-05-12T19:33:56.597Z","avatar_url":"https://github.com/alimpfard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steps to use\n\n## Step 0 - build compiler\n\nRefer to main readme\n\n## Step 1 - compile source to library\n\n`build/nlex --output tokeniser.obj --library --target-sys windows --object-format coff --target-arch x86_64 ../examples/test.nlex`\n\n## Step 2.1 - build a dll\n\n`link /dll /def:tokeniser.def tokeniser.obj`\n\n## Step 2.2 - compile against the C wrapper\n\n`cd ../wrapper/c`\n`cc wrapper.c ../src/tokeniser.obj`\n\nAnd use `a.out`\n\n\n### C wrapper options format\n\n```\n./a.out [options] -- input_files...\n\n[OPTIONS]\n    --json : Enable json output\n    --output [output_file] : write json to given file\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimpfard%2Fnlp-lex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falimpfard%2Fnlp-lex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimpfard%2Fnlp-lex/lists"}