This can create a problem when porting code from one system to another: generally, you are best off re-running lex and yacc on a new platform, rather than porting the generated code.
当将代码从一个系统移植到另一个系统时,这会产生问题:通常,您最好在新的平台上重新运行lex和yacc,而不要移植生成的代码。
In fact, video game consoles are often an exception to general rules about modern code not needing much porting.
实际上,视频游戏控制台对于现代代码来说通常都是一个例外,不需要太多移植。
This was done so that developers would have an easy time porting existing 16-bit programs to the new platform-it meant that the number of code changes they had to make would be minimal.
这样做的好处是,16位程序能发者能更为轻松的转向这个新平台——这意味着他们需要更改的代码能达到最小化。
应用推荐