{"id":22622452,"url":"https://github.com/jesssullivan/chapeltests","last_synced_at":"2025-07-26T18:03:21.896Z","repository":{"id":72226378,"uuid":"168140545","full_name":"Jesssullivan/ChapelTests","owner":"Jesssullivan","description":"Dupe Checking, String Iteration, Parallel Evaluation in Chapel-language \u0026 Python3","archived":false,"fork":false,"pushed_at":"2019-09-15T03:12:57.000Z","size":2261,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-24T11:07:43.251Z","etag":null,"topics":["chapel-language","duplicate-detection","iteration","parallel-programming","python3"],"latest_commit_sha":null,"homepage":"","language":"Chapel","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/Jesssullivan.png","metadata":{"files":{"readme":"README.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-29T11:03:31.000Z","updated_at":"2023-09-08T17:49:49.000Z","dependencies_parsed_at":"2023-02-22T01:15:11.688Z","dependency_job_id":null,"html_url":"https://github.com/Jesssullivan/ChapelTests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jesssullivan/ChapelTests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jesssullivan%2FChapelTests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jesssullivan%2FChapelTests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jesssullivan%2FChapelTests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jesssullivan%2FChapelTests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jesssullivan","download_url":"https://codeload.github.com/Jesssullivan/ChapelTests/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jesssullivan%2FChapelTests/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267205988,"owners_count":24052762,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chapel-language","duplicate-detection","iteration","parallel-programming","python3"],"created_at":"2024-12-08T23:15:07.901Z","updated_at":"2025-07-26T18:03:21.884Z","avatar_url":"https://github.com/Jesssullivan.png","language":"Chapel","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChapelTests\n\nInvestigating modern concurrent programming ideas with Chapel Language and Python 3\n\n**See here for dupe detection:**  [/FileChecking-with-Chapel](https://github.com/Jesssullivan/ChapelTests/tree/master/FileChecking-with-Chapel)\n\n\n**Iterating through all files for custom tags / syntax:**  [/GenericTagIterator](https://github.com/Jesssullivan/ChapelTests/tree/master/GenericTagIterator)\n\nadded 9/14/19:\n\nThe thinking here is one could write a global, shorthand / tag-based note manager making use of an efficient tag gathering tool like the example here.  Gone are the days of actually needing a note manager- when the need presents itself, one could just add a calendar item, todo, etc with a global tag syntax.\n\nThe test uses $D for date: ```$D 09/14/19```\n\n```\n//  Chapel-Language  //\n\n// non-annotated file @ /GenericTagIterator/nScan.chpl //\n\nuse FileSystem;\nuse IO;\nuse Time;\n\nconfig const V : bool=true;  // verbose logging, currently default!\n\nmodule charMatches {\n  var dates = {(\"\")};  \n}\n\n// var sync1$ : sync bool=true;  not used in example- TODO: add sync$ var back in!!\n\nproc charCheck(aFile, ref choice, sep, sepRange) {\n    \n    // note, reference argument (ref choice) is needed if using Chapel structure \"module.domain\"\n\n    try {\n        var line : string;\n        var tmp = openreader(aFile);\n        while(tmp.readline(line)) {\n            if line.find(sep) \u003e 0 {\n                choice += line.split(sep)[sepRange];\n                if V then writeln('adding '+ sep + ' ' + line.split(sep)[sepRange]);\n            }\n        }\n    tmp.close();\n    } catch {\n      if V then writeln(\"caught err\");\n    }\n}\n\ncoforall folder in walkdirs('check/') {\n    for file in findfiles(folder) {\n        charCheck(file, charMatches.dates, '$D ', 1..8);\n    }\n}\n```\n\n# Get some Chapel:\n\n In a (bash) shell, install Chapel:   \n   Mac or Linux here, others refer to:\n\n https://chapel-lang.org/docs/usingchapel/QUICKSTART.html\n\n```\n# For Linux bash:\ngit clone https://github.com/chapel-lang/chapel\ntar xzf chapel-1.18.0.tar.gz\ncd chapel-1.18.0\nsource util/setchplenv.bash\nmake\nmake check\n\n#For Mac OSX bash:\n# Just use homebrew\nbrew install chapel # :)\n```\n# Get atom editor for Chapel Language support:\n```\n#Linux bash:\ncd\nsudo apt-get install atom\napm install language-chapel\n# atom [yourfile.chpl]  # open/make a file with atom\n\n# Mac OSX (download):\n# https://github.com/atom/atom\n# bash for Chapel language support\napm install language-chapel\n# atom [yourfile.chpl]  # open/make a file with atom\n\n```\n\n# Using the Chapel compiler\n\nTo compile with Chapel:\n```\nchpl MyFile.chpl # chpl command is self sufficient\n\n# chpl one file class into another:\n\nchpl -M classFile runFile.chpl\n\n# to run a Chapel file:\n./runFile\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesssullivan%2Fchapeltests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesssullivan%2Fchapeltests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesssullivan%2Fchapeltests/lists"}