{"title":"在 Fortran 中动态生成字符串和 C++ 风格输出","authors":"Marcus Mohr","doi":"arxiv-2409.03397","DOIUrl":null,"url":null,"abstract":"Using standard components of modern Fortran we present a technique to\ndynamically generate strings with as little coding overhead as possible on the\napplication side. Additionally we demonstrate how this can be extended to allow\nfor output generation with a C++ stream-like look and feel.","PeriodicalId":501197,"journal":{"name":"arXiv - CS - Programming Languages","volume":"54 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Dynamic String Generation and C++-style Output in Fortran\",\"authors\":\"Marcus Mohr\",\"doi\":\"arxiv-2409.03397\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Using standard components of modern Fortran we present a technique to\\ndynamically generate strings with as little coding overhead as possible on the\\napplication side. Additionally we demonstrate how this can be extended to allow\\nfor output generation with a C++ stream-like look and feel.\",\"PeriodicalId\":501197,\"journal\":{\"name\":\"arXiv - CS - Programming Languages\",\"volume\":\"54 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-09-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Programming Languages\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2409.03397\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Programming Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.03397","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
利用现代 Fortran 的标准组件,我们提出了一种动态生成字符串的技术,尽可能减少应用程序端的编码开销。此外,我们还演示了如何将该技术扩展到以类似于 C++ 流的外观和感觉生成输出。
Dynamic String Generation and C++-style Output in Fortran
Using standard components of modern Fortran we present a technique to
dynamically generate strings with as little coding overhead as possible on the
application side. Additionally we demonstrate how this can be extended to allow
for output generation with a C++ stream-like look and feel.