Website Summary Files Commits Branches @commit @diff @stats
Commit message (Collapse)AuthorAgeLinesSHA
* Added tests for spasm
 Dimitar Trendafilov
2018-11-15-3/+68fb7e4db
|
* Split spasm to lib and executable
 Dimitar Trendafilov
2018-11-15-207/+5738e5a132
| | | | - added solution folders
* Spasm can assemble programs on with the new instruction set (#47)
 Dimitar Trendafilov
2018-11-14-362/+795a7cd9d4
| | | | | | * Use checkout as-is, commit as-is * Spasm can assemble programs based on the new instruction set
* Merge pull request #45 from SofiaCPP/feature/spasm_improvements
 dtrendafilov Unverified
2018-11-14-2430/+27889a7a8a3
|\ | | | | Feature/spasm improvements
| * Implemented call and ret opcodes
 Dimitar Trendafilov
2018-11-13-244/+246e7c2a14
| |
| * Added tests for sprt
 Dimitar Trendafilov
2018-11-13-8/+70fa07761
| |
| * Fixed windows build and added const instruction
 Dimitar Trendafilov
2018-11-13-12/+307f2b203
| |
| * Test can use sprt
 Dimitar Trendafilov
2018-11-13-0/+2f34366f
| |
| * The assembler works closes to the instruction set spec
 Dimitar Trendafilov
2018-11-12-1691/+2203f9654d3
| |
| * Converted spasm to a register machine
 Dimitar Trendafilov
2018-11-12-184/+251f81f1c5
| |
| * Fixed the sample test program
 Dimitar Trendafilov
2018-11-11-2/+2679c298
| |
| * Removed data stack class
 Dimitar Trendafilov
2018-11-11-365/+60fc647ed
|/
* Предаване на първо домашно ("XXX2html") (#12)
 Georgi Lyubenov
2018-11-07-0/+1256990a8f5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* First homework - highlighter for python (#17)
 Ralitsa Dardjonova
2018-11-07-0/+37676b849f
| | | | | | | | | | * Initial commit * Fix some typos modified: README * Delete index.html
* A (naive) golang implementation of a JavaScript lexer. (#18)
 Dobromir Ivanov
2018-11-07-0/+74497a5843
| | | | | 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.
* Add homework 1 (#23)
 Bilyal Mestanov
2018-11-07-0/+236513f0746
|
* Solution to first homework (#25)
 Ralitsa Velikova
2018-11-07-0/+141593cd8ca
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add token types enum for Lexer * Local test if I've correctly switched from https to ssh * Adds initial Lexer logic; Reuses JSImpl's Lexer logic; Still needs refactoring; * Adds README.md * Adds README.md * Adds tokenization of strings and a few operators * Adds some operators * Adds highlighter and sample for future testing * Adds runes & fixes double whitespace bug * API fix, premake, solution * Update README.md * Delete HL.sln * Delete HL.vcxproj
* Homework 1 - C# Lexer and Syntax Highlighter for Javascript (#34)
 Georgi Barnev
2018-11-07-0/+276547e8c6f
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial lexer structure * Added IInputStream interface for the Lexer and its base implementation in FileInputStream not implemented yet. * Extend InputStream interface * Implement FileInputStream not tested * Lexer almost ready - comments need to be parsed. InputStream ready * Added some TODOs * Add error token type and almost parse comments * Parse multiline comments and fix string parsing to not include the quotes. * Added Syntax Highlighter, added support for more js reserved words, removed error tokens to not break the actual word tokens, fixed comments and string token representation to include its special characters * Initial lexer structure * Added IInputStream interface for the Lexer and its base implementation in FileInputStream not implemented yet. * Extend InputStream interface * Implement FileInputStream not tested * Lexer almost ready - comments need to be parsed. InputStream ready * Added some TODOs * Add error token type and almost parse comments * Parse multiline comments and fix string parsing to not include the quotes. * Added Syntax Highlighter, added support for more js reserved words, removed error tokens to not break the actual word tokens, fixed comments and string token representation to include its special characters * Improve project structure and add tests * Fix physical path structure of the projects * Write tests, fix tokenizer bugs * Fix README format, fix AssemblyInfo name * Escape slashes in readme
* Add golang ot html highlighter (#28)
 Georgi Bojinov
2018-11-07-0/+8035a4403e
|
* Добавяне на второ домашно (#30)
 Mincho Paskalev
2018-11-07-212/+42865c7618
| | | | | | | | | | | | | | | | | | | | | | | | * 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 * adding cyclomatic complexity * refactored * adding cyclomatic complexity * refactored
* Replaced go* commands with jmp* commands (#38)
 Dimitar Trendafilov
2018-11-07-1129/+16672044770
|
* Regenerated project files
 Dimitar Trendafilov
2018-11-05-144/+169c666197
|
* Allowed inclusion of spasm solution in other solutions
 Dimitar Trendafilov
2018-11-05-4/+6034a710
|
* Merge commit '6e19bb560d474736d45f5be011ff0830c7019991' as 'spasm'
 Dimitar Trendafilov
2018-11-05-0/+7390c3252e6
|\
| * Squashed 'spasm/' content from commit 08ee95d
 Dimitar Trendafilov
2018-11-05-0/+73906e19bb5
| | | | | git-subtree-dir: spasm git-subtree-split: 08ee95d89054ba0d33697d613799a0a013aedf89
* Removed not used project files
 Dimitar Trendafilov
2018-11-05-224/+0c9912fd
|
* Fixed Linux build
 Dimitar Trendafilov
2018-11-05-2/+3b38f33e
|
* Fixed Linux build
 Dimitar Trendafilov
2018-11-05-27/+22c6bc94e
| | | | - used ASSERT_DOUBLE_EQ for better error messages
* Added the human parser generator link in resources
 Dimitar Trendafilov
2018-11-05-0/+3762fb10
|
* Add foldable blocks in Golang 2 highlighter (#33)
 Georgi Stefanov
2018-11-03-0/+4582ceb31e1
| | | | | | | | | | | | | | | | * initial commit * Add implementation using concatenation * Added block collapsing * Finish block collapsing * Fix nested blocks and + -> - when collapsing * Remove unnecessary files. * Add readme
* Added prettifier and control structure collapse. (#19)
 YanaRG
2018-11-03-321/+14189557d0c
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add a couple more tests in ParserTests.
 martin dobrev
2018-11-03-10/+107113598b
|
* Introduce interactive interpreter.
 martin dobrev
2018-11-03-129/+1926c2f781
|
* Fix AppVeyor build.
 martin dobrev
2018-11-03-0/+14e7231b
|
* Homework 1 (#26)
 GMarinov2
2018-11-03-0/+883c9de201
| | | | | | | | | | | | * Finished homework 1 * Removed the binaries. * Adding gitignore and solution * Removed unnecessary code. * Removed the .sln for the appveyor build.
* 81352 - homework 2 (#32)
 Dimitar Milev
2018-11-03-297/+4364ccd71ee
| | | | | | * fix(hw1): use yyextra instead global variable * hw2: extended the typescript syntax highlighter with collapsible block structures
* First HW (#9)
 Mincho Paskalev
2018-11-03-0/+8800681174
| | | | | | | | | | | | | | | | * 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
* homework 1 (#27)
 thetedgt
2018-11-03-0/+106526e5f89
|
* Remove base class parameter from expression macro iterator.
 martin dobrev
2018-11-02-25/+250b0962d
|
* Add many fixes to parser.
 martin dobrev
2018-11-02-215/+433d51e7e3
| | | | | | Introduce Object Literal and Call expression. Add more test for parser. Little enhance around interpreter.
* Merge pull request #31 from SofiaCPP/linux_tests
 dtrendafilov Unverified
2018-11-01-5/+11158f90af9
|\ | | | | Linux tests
| * Enabled parallel msbuild
 Dimitar Trendafilov
2018-11-01-0/+3802eb18
| |
| * Tests for Linux
 Dimitar Trendafilov
2018-11-01-5/+182d5de12
| | | | | | | | - Fixed test results upload
| * Added Linux makefiles generated by genie
 Dimitar Trendafilov
2018-10-31-0/+10942ae8d62
|/
* Merge pull request #29 from SofiaCPP/testing
 dtrendafilov Unverified
2018-10-29-289/+12694c31ba3
|\ | | | | Testing
| * Fix shell expansion for the build ID
 Dimitar Trendafilov
2018-10-29-1/+1f747ef4
| |
| * Better integration of test results in AppVeyor
 Dimitar Trendafilov
2018-10-29-0/+7d6c0722
| |
| * Enabled running tests on AppVeyor
 Dimitar Trendafilov
2018-10-29-4/+568ae943
| |
| * Removed unused file
 Dimitar Trendafilov
2018-10-29-4/+014bf2ac
| |
| * Fixed tests on Windows
 Dimitar Trendafilov
2018-10-29-12/+14f5c2af4
| |