Comments (7)
I have pushed a test case to the assign
branch. There are errors in the semantic output. Could you take a look?
from pt20-student.
Yeah I'll take a look later tonight
from pt20-student.
Fixed the issue. It was the test case. Assign accepts the file variable before the string name. I think I'm getting the right output now. I'll push to the branch and make a PR
from pt20-student.
That's not what the prof has said; I believe the test case was correct
https://onq.queensu.ca/d2l/le/447455/discussions/threads/4324421/View
from pt20-student.
Based on this link: https://www.freepascal.org/docs-html/rtl/system/assign.html I believe the updated test is correct. It is also the way the code works. It checks first for an identifier of file type then checks the file name.
I'm not completely sure but I think he may have just been mistaken on that.
from pt20-student.
Could you make an onQ discussion for this? I reckon you guess is right but it doesn't hurt to confirm
from pt20-student.
Yep I'll do that first thing in the morning. Might be a bit late but I'll try anyways
from pt20-student.
Related Issues (20)
- Complete documentation HOT 3
- phase 3: statements
- phase 3: packages
- String Like declarations
- String Length Unary Operator HOT 14
- String Operations
- Phase 4: Default else in choose statements
- Phase 4: Initial Values
- Phase 4: Strings HOT 2
- Phase 4: Mixed Declarations and Statements
- coder is skipping tStoreInteger token in semantic stream and looking for tWriteBegin instead HOT 1
- Phase 4: String Operation - tConcatenate
- Phase 4: String Operation - tRepeatString
- Phase 4: String Operation - tSubstring
- Phase 4: String Operation - tLength
- Phase 4: String Operation - tStringEq
- Add error test cases HOT 1
- Package test cases HOT 1
- Make sure string subscripting works HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pt20-student.