TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN : Experience with C++ Boost and Spirit?

1 点作者 codedivine超过 16 年前
I am starting a project where I need to write a small parser in C++ and was looking at various options and one of the options that came up was Spirit C++ library which allows you to specify EBNF grammars inline. However I have heard horror stories about Boost in general and am worried about adding it as a dependency in the project.<p>Does anyone have experience with Spirit or Boost in general? The project is expected to be crossplatform targeting Vista32, Vista64 with VS2005 and VS2008 and Linux64 with GCC 4.3

1 comment

shutter超过 16 年前
I once used Spirit successfully, even though at the time I was not as well-versed in C++ as I should have been. I tend to like boost, because it makes a lot of things easy that would otherwise be difficult and/or time-consuming to write in C++.
评论 #448217 未加载