| Commit message (Collapse) | Author | Age | Lines | SHA |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add 1st hw
* --amend
* moving readme for 1st hw to designated folder
* renamed TokenType enum to TokenClass
* fixed character constant lexing. added sampe output file
* add new line at end-of-file. added gitignore
* a bit of refactoring
* Add BF interpreter
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create README.md
* Initial commit
* Initial commit
* Create README.md
* Rename homework/81281/c2html.pl to homework/81281/c2html/c2html.pl
* Rename homework/81281/test.c to homework/81281/c2html/test.c
* Update README.md
* Update README.md
* Update c2html.pl
* Update c2html.pl
* Update c2html.pl
* Update README.md
* Update c2html.pl
* Update test.c
* Create executeProgram.sh
* Update README.md
* Update c2html.pl
* Initial commit of updated code + prettify C
* Rename secret.c to messyCode.c
* Update and rename test.c to initialTest.c
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Rename executeProgram.sh to c2htmlrun.sh
* Update README.md
* Update prettify.pl
* Update prettify.pl
* Update messyCode.c
* Fixed some bugs.
* Update README.md
* Update c2html.pl
* Added collapse and fixed matrix representation.
* Updated flatten and added predicate for function identification.
* Update initialTest.c
* Update messyCode.c
* Bug fixing, added is_functionAndBody predicate.
* Update print.pl
* Result after applying prettify and added collapse functions
* Can identify structures and collapse them too
* Can identify structures and collapse them too
* Can identify structures and collapse them too
* Can identify structures and collapse them too
* Can identify structures and collapse them too
* Update messyCode.c
* Update README.md
* Update prettify.pl
* Update README.md
* Update prettify.pl
* Update messyCode.c
* Update messyCode.c
* Update page.html
* Fix bug typedef
* Update page.html
* Added choices
* Update c2html.pl
* Update prettify.pl
* Update prettify.pl
* Update README.md
* Update README.md
* Update c2html.pl
* Update c2html.pl
* Added forgotten do-while structure format
* Update messyCode.c
* Removing unknown tokens from stream
* Rename homework/81281/c2html/page.html to homework/81281/c2html/exampleCodeAndTestPage/page.html
* Rename homework/81281/c2html/messyCode.c to homework/81281/c2html/exampleCodeAndTestPage/messyCode.c
* Rename homework/81281/c2html/initialTest.c to homework/81281/c2html/exampleCodeAndTestPage/initialTest.c
* Update prettify.pl
* Can collapse all control structures and fixed comment /**/
* Can collapse all control structures and fixed comment /**/
* Can collapse all control structures and fixed comment /**/
* Can collapse all control structures and fixed comment /**/
* Can collapse all control structures and fixed comment /**/
* Fixed named of predicates
* Update messyCode.c
* Update page.html
* Update README.md
* Changed execTAB to "\s\s\s\s"
* Changed execTAB to "\s\s\s\s"
* Changed execTAB to "\s\s\s\s"
* Update page.html
* Added new tokens (forgotten operators) and added rules for them
* Added new tokens (forgotten operators) and fixed some old predicates
* Fixed bug with "else '\n' if (..)" in addNewLines predicate
* Fixed regular expression for a string and removed token ttypesPrintF
* Added clauses for handling enum and fixed handling of chars
* Fixed typos
* Added forgotten token to clause
* Fixed "case smt :'\n'" where smt is more than one char
* Fixed some bugs and divided code in modules
* New code module and fixed bugs
* Fixed some bugs with tabulation
* Divided code in modules
* Delete executeProgram.sh
* Delete test.c
* Initial version, still very buggy.
* Finished with bug killing.
* Fixed readme and added new program for tests.
* Forgotten line added.
* Organizing stuff in different folders.
* Forgot to delete files.
* Fixed typo.
|
| |\
| |
| | |
Made spasm to work with nan-boxed values
|
| |/ |
|
| | |
|
| |
|
|
|
|
| |
* Add brainfuck interpreter implementation
* Improve usage info
|
| |
|
|
|
|
|
|
| |
* Implement comparison operators.
* Remove debug code.
* Undo test code.
|
| |\
| |
| | |
JSON is now parsed to AST
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Feature/double
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Proof of concept implementation of NaN boxing
* Added note about how to contribute
* Added homeworks post
* Fixed windows build
* Fixed windows build
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add brainfsck interpreter
* Remove unused imports in Main
* Add .gitignore
* Fix example commands
|
| | |\
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Implement code generation for some unary expressions
Implement debug code augmentation.
Now part of expresions have source location.
Extend Tokens with Column information.
Refactor byte code generation.
Add options for byte code generator.
* Fix linux build
* Little refactoring in byte code generation
* Fix couple bugs in byte code generation and add some tests.
* Fix some linux warnings.
|
| |/ |
|
| |
|
|
|
|
| |
* Rust syntax highlighter: fix some issues with the implementation of the first homework assignment
* Rust syntax highlighter: pretty-printer: implement the second homework assignment
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Started vm intro slides
* Added slides for machines
* finished vm intro slides
* Fixed warnings on Linux
* Added the slides to the contents
|
| |\
| |
| | |
Code gen
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| | |
Spasm tests and latest instruction set
|
| | | |
|
| | | |
|
| |/
|
|
| |
- added solution folders
|
| |
|
|
|
|
| |
* Use checkout as-is, commit as-is
* Spasm can assemble programs based on the new instruction set
|
| |\
| |
| | |
Feature/spasm improvements
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial commit of clex
new file: .gitignore
new file: Setup.hs
new file: app/Main.hs
new file: keyword-strings.txt
new file: package.yaml
new file: sample.c
new file: src/Boilerplate.hs
new file: src/Lex.hs
new file: src/Lib.hs
new file: stack.yaml
new file: test/Spec.hs
Need to implement ctohtml functionality now.
And maybe tests for the lexer.
* Clean-up
modified: app/Main.hs
modified: package.yaml
modified: src/Boilerplate.hs
modified: src/Lex.hs
deleted: src/Lib.hs
Clean-up warnings (unused stuff). Remove unused Lib.hs
* Add swap files to gitignore
modified: .gitignore
* Add comments, fix keyword parsing
modified: src/Lex.hs
Previously keyword parsing would only work if you followed the keyword
with a whitespace. Now we just include all non-alphanumerir characters
as ends of a keyword.
* Fix escaped character parsing in strings
modified: src/Lex.hs
Had previously only fixed it for characters.
* Add explicit exports and comments to Boilerplate.hs
modified: src/Boilerplate.hs
* Remove chars written as numbers
modified: src/Lex.hs
* Rename Boilerplate to Types
modified: Lex.hs
renamed: Boilerplate.hs -> Types.hs
* Fix forgotten shift assigns, implement tokenToBS
modified: src/Types.hs
* Add generic tests, fix a couple of bugs
modified: package.yaml
renamed: src/Lex.hs -> src/Clex/Lex.hs
renamed: src/Types.hs -> src/Clex/Types.hs
modified: stack.yaml
new file: test/Clex/LexSpec.hs
new file: test/Clex/TypesSpec.hs
modified: test/Spec.hs
Added pretty basic tests that generate tokens and then lex to and from
bytestrings.
Fixed a bug where I didn't realise unsigned could be 0 or more
instances, and not a single char.
Fixed a bug where (tokenToBS Not) == "!=", instead of "!".
Fixed a bug where I was parsing Numbers before Floating numbers,
and as a result "0.123" would show up as [Number _, DotFloat _]
instead of [LeadingDot _].
* Remove executable info from clex lib
deleted: app/Main.hs
modified: package.yaml
* Add cToHtml tool
new file: .gitignore
new file: Setup.hs
new file: app/Main.hs
new file: package.yaml
new file: sample.c
new file: src/Html.hs
new file: stack.yaml
* Add instructions and global stack.yaml for ease of use
new file: .gitignore
new file: README.md
new file: stack.yaml
* Add a bit of docs to cToHtml
new file: README.md
modified: package.yaml
* Add comment on comments and the CPP
modified: README.md
* Apply hlint, remove ChangeLog.md, add *.swp
modified: .gitignore
new file: cToHtml/app/.Main.hs.swp
modified: cToHtml/app/Main.hs
modified: cToHtml/package.yaml
modified: clex/src/Clex/Lex.hs
modified: clex/test/Clex/LexSpec.hs
modified: clex/test/Clex/TypesSpec.hs
* Don't need Lucid for lexer
modified: clex/package.yaml
* Fix comma typo
modified: README.md
* Fix typo and misinformation
modified: cToHtml/package.yaml
modified: clex/package.yaml
|
| |
|
|
|
|
|
|
|
|
| |
* Initial commit
* Fix some typos
modified: README
* Delete index.html
|
| |
|
|
|
| |
Not that comments single line or multi line are not parsed.
Numbers are parsed in the most naive way possible so don't expect
miracles.
|
| | |
|