《明史·列传·卷一百七十》
杨廉与罗钦顺友好，讲求 居敬穷理 之学，认为文章必以《六经》为本。他自礼乐、钱粮至星历、算术，都知其本末。
廉与罗钦顺善，为居敬穷理之学，文必根《六经》，自礼乐、钱谷至星历、算数，具识其本末。
Yang Lian was on good terms with Luo Qinshun, and he studied the learning of "living in reverence and pursuing the truth". He believed that articles must be based on the "Six Classics". From etiquette and music, money and food to astronomy, he knew the basics.
<s>[INST] Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 廉与罗钦顺善，为居敬穷理之学，文必根《六经》，自礼乐、钱谷至星历、算数，具识其本末。 [/INST] Modern Chinese: 杨廉与罗钦顺友好，讲求 居敬穷理 之学，认为文章必以《六经》为本。他自礼乐、钱粮至星历、算术，都知其本末。 English: Yang Lian was on good terms with Luo Qinshun, and he studied the learning of "living in reverence and pursuing the truth". He believed that articles must be based on the "Six Classics". From etiquette and music, money and food to astronomy, he knew the basics.</s>
Translate the following passage from Classical Chinese to both modern Chinese and English, focusing on preserving the emotional tone in both translations: 廉与罗钦顺善，为居敬穷理之学，文必根《六经》，自礼乐、钱谷至星历、算数，具识其本末。
user
Modern Chinese: 杨廉与罗钦顺友好，讲求 居敬穷理 之学，认为文章必以《六经》为本。他自礼乐、钱粮至星历、算术，都知其本末。 English: Yang Lian was on good terms with Luo Qinshun, and he studied the learning of "living in reverence and pursuing the truth". He believed that articles must be based on the "Six Classics". From etiquette and music, money and food to astronomy, he knew the basics.
assistant