-
I propose we opt-in to restricting construction of records/DUs to a given scope (via private/internal).
When you encounter the problem of trying to maintain an invariant of a type (which cannot b…
-
Decrease redundancy in cases like
```lean
if let c a := x then
if q a then
y
else z
else z
...
```
by supporting mixed `let`/condition chains like
```lean
if let c a := x && q a the…
-
- [ ] Remove unused syntactic categories
- [ ] In most syntactic names, rename `contract` to `script` because Michelson community refers to Michelson programs as scripts
- [ ] Improve consistency be…
-
For instance, mistyping `version` as `vrsion` returns:
- for parsing: `:1:1: mismatched input 'vrsion' expecting {NEW_LINE, ';', 'version'}`, and
- for analyzing: `Error: :1:1: syntax error`.
-
As a CS student, you may have already implemented it as part of your compiler’s class. But if not, then you should. LALR parsing makes syntactic sense of source code, whichever language you use
-
I was hoping to parse the following code.
```C
// Fake stub of stdarg.h more amenable to pycparser
typedef void* va_list;
// The actual code I want to parse
int foo(int f, ...) {
va_list ap;…
-
The current representation is fine for the HIR, I assume it is optimised for compiler internal stuff. But in the AST, it would be better to be closer to the surface syntax (since that should make pars…
-
Clearly, it's been a massive pain manually regex'ing my way through Verilog source code and it only works for simplistic codebases that are pretty idealistic.
Instead, further research is required …
-
Feature request to enable things like:
`cat /etc/hosts | pawk '!/^#/ and !/^127'`
This would require a whole new way of parsing. It should parse it as a python expression with some syntactic sug…
JJK96 updated
2 years ago
-
https://github.com/AuroraCollegeSDD/12SDD_Course_Information_v2/wiki/9.2.3-Implementation-of-software-solution#the-need-for-translation-to-machine-code-from-source-code
### Students learn about:
•…