|
Author:
{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}
Message: chore(monorepo): import bson-transpilers (#2301)
- move language-specific enums into object; can maybe then use them in codegenerator generically
- Merge pull request #21 from mongodb-js/errors-handling
Errors handling
- Use Symbol table generated from YAML file (#23)
- remove test yaml function
- Add symbols to generator only once
- Remove all visit methods from JavaGenerator
- Rename ecmascript to javascript
- Errors handling and refactoring for using classes instead of prototypes
- Move generators into their own dirs
- Move JavaGenerator into function
- Make both csharp and python generators into functions
- Update package API and tests
- Separate json test files by input language
- Use shell not javascript for compile from shell
- Generate symbol table with script
- Fix bug for optional types and include BSON numeric type
- Build symbol table before tests
- Use strings instead of numbers for test
- Cast argument to expected type if numeric
- Add _long; don't cast BSON numeric types
- Merge pull request #40 from mongodb-js/
COMPASS-2623-add-bson-to-python-symbol-table
COMPASS-2623 Add BSON object built-in functions to Python symbol table
- Add shell bson constructors as input language (#41)
Also adds functionality in javascript for new Date
- Merge pull request #43 from mongodb-js/
COMPASS-2622-2623-bson-object-methods-and-utils
Finished bson object methods and bson utils
- work with objects and arrays
- get numbers working csharp with symbol + emit
- make min/max key emit in generator
- add decimal128 + proper comments
- fix template for methods on bson types
- parsing decimal128 requries a TryParse
- rebase of master and change emit calls based on recent changes
- add back lib to gitingore and get rid of java lexer/parser
- Turn MaxKey into function call for shell
- Remove support for toJSON methods
- Set ctx.type in emit methods
- Allow js ObjectId.createFromTime to take date
- Add shell bson utils to symbol table + tests
- Add shell bson methods to symbol table + tests
- Java tests all running in jvm
- Java tests all running in jvm
- Add various attributes to js input
- work with objects and arrays
- get numbers working csharp with symbol + emit
- make min/max key emit in generator
- fix date, regex, and octals based on @aherlihy's review
- BSON constructors shell --> javascript
- JS constructors shell --> javascript
- JS/BSON utils shell --> javascript
- BSON methods shell --> javascript
- Move JS specific code out of generators
- fixing package.json + npm version mismatch
- webpack / browser does not handle path.resolve
- add object id bson methods
- add back output lang in code generation tests
- bson utils added to c# templates
- fix templates after rebasing off master
- bson utils for c# with correct templates
- fix rebase errors with bson double args
- Merge pull request #64 from mongodb-js/
COMPASS-2790-shell-to-python
Compass 2790 shell to python
- Merge pull request #62 from mongodb-js/add-docs
add an API section to readme
- Remove emitBinaryFromJS (#68)
- fix int64 compiler errors
- fix errors that dotnet compiler wasn't liking
- sub bsonobjectid with just object id
- can't do try parse on decimal128
- fix bsonint64 comparison operations
- fix remainder of int64 errors
- fix number, regex and object create methods
- Rename BinaryFromJS to Binary
- Add comments + move shell process methods into shell visitor
- Move BSONRegExp into process/emit pattern
- Add support for JS --> Shell
- accept env variables as output/input params
- Merge pull request #66 from mongodb-js/some-validation-cases-ideas
Some validation cases ideas
- More idiomatic java numbers
- Turn off csharp tests for Double/Int32
- return more coherent numbers in c#
- if the original number passed in as arg takes a string, return a parse function
- Merge pull request #85 from mongodb-js/
COMPASS-2804-write-error-tests-for-python
COMPASS-2804 write error tests for python
- Remove Code.toString; Use java doc constructor
- bson-constructors for shell-csharp (#86)
- fix tests for shell-csharp bson constructors
- implement bson-constructors
- add import string as export
- Add import string as export
- Update README; add csharp imports
- add file for generating target language files
- Add helper file for creating runnable tests
- Update test file for python
- make test file for c#
- CR comments
- Add JS output
- Use imports
- check if a float string is passed in to do a float.parse
- Misc Idiomatic Python (#89)
- Java Numeric Bugfix (#90)
- add shell-c# bson-methods + bson-utils
- shell-c# language tests
- fix date time ToString in js and shell
- Rename errors and fix bugs
- Sort error tests by error type
- don't skip tests if not in unsupported
- Allow running test by mode
- Throw unimplemented errors
- Start compilation from root node
- Add tests for other semantic errors
- Syntax Tests + Fixes (#105)
- Tests for function calls without args (#106)
- fix nested documents bugs in c# and python (#107)
- fix bug in python + csharp in nested documents
- add a few extra nested tests
- contributing.md: project architecture docs
- Missing step for adding a new language in contrib
- Remove support for Binary/BinData
- remove initial \n in import strings (#111)
- add depth param to help with object/array indents
- insert indents in java arrays
- remove example package name in java imports
- Remove depth argument (#115)
- add tree visiting diagram
- Skip array elements that generate only commas
- indent items in csharp arrays (#117)
- Add args template for arrays
- indent items in csharp arrays
- move .join logic for arrays to args template
- Bump mongodb to 3.1.0 (#118)
- Support for using Java generators. (#119)
- Support for using Java generators.
- Set code to use non idiomatic objects
- Set default to using builders
- Imports now being generated by usage
- Use BsonNull in java instead of null
- Allow getImports before compile
- Rename Bson-Compilers to Bson-Transpilers
- Generators never directly access the tree (#126)
- Add Python as input language (#127)
- Add outline for python input
- grammar updated to python3 java version
- generating simple statements
- indivual literals working
- readded tests for idiomatic but w python
- idiomatic objects working from python
- binary ops + compare done
- BSON types other than numbers + date/regex
- csharp java tests passing
- Dates fixed and moved into templates
- move regex flags into templates
- add generate helpers to js visitor
- python language-types passing
- python constructor tests done
- Add commented sample template file
- bson-methods and bson-utils tests added (not passing)
- All methods + utils except regex + objectid
- Add first python error test
- All python tests but unimplemented
- imports working for python
- python casting tests failing for neg numbers
- bson-constructors moved to yaml
- test refactor done

- all but casting int working
- all casting tests passing
- update javascript visitor to not set type to first child
- empty visitor class added; tests fixed
- move imports to codegenvisitor
- Add better error checking
- move function generation into shared visitor
- move identifier generation into shared visitor
- move attribute generation into shared visitor
- move object generation into shared visitor
- move array generation into shared visitor
- move numeric constructor generation into shared visitor
- part-way through casting refactor
- finish moving casting/literals into shared visitor
- only use templates if defined
- Add possible bson types to shared visitor
- Add native regex to python
- Add named arguments to python (#128)
- All working but re.compile
- Add support for translating to javascript objects (#129)
- Don't include all the src in the published artifact
- [x] JS Symbol -> BSONSymbol
- [x] All JS types now require new keyword in constructor
- [ ] Fix remaining Long test failures
- Fix remaining Long issues in the test suite
- Use default symbol args template in java
- Change test to use shell as input for Symbol
- Need codegeneration module
- Fix up make-test-file (#132)
- Update README with supported langs
- Merge pull request #133 from mongodb-js/add-git-info
COMPASS-3823: Add git info for license metadata
- Generate Drivers Syntax for Node & Python (#134)
- Update shell driver syntax
- Add driver syntax for java
- Throw error for csharp driver syntax
- minor fixes for driver syntax
- Add extra newline before connect in javascript
- Add comments to driver code; use mongodb instead of bson for node
- Added powerpoint slides for transpilers talk
- Merge pull request #135 from mongodb-js/update-antlr
Update ANTLR to 4.7.2
- Merge pull request #138 from mongodb-js/ignore-pdf
chore: do not publish pdf and download antlr
- Merge pull request #140 from mongodb-js/move-pdf-to-google-docs
docs: move pdf to google docs
- Merge pull request #141 from mongodb-js/export-fn-to-js
feat: compile functions to js
- Merge pull request #142 from mongodb-js/fix-fn-whitespaces
fix functions whitespaces
- Merge pull request #143 from mongodb-js/clean-deps
chore: update and clean dependencies
- chore(monorepo): add bson-transpilers
- remove ignored pre-commit and regen package-lock
- add star dep for bson-transpilers
- fix dep alignment and add depcheck to ci
- add depcheck to precheck-ci
- chore(bson-transpilers): fix eslint
Co-authored-by: aherlihy <anna.herlihy@10gen.com>
Co-authored-by: Alena Khineika <alenakhineika@users.noreply.github.com>
Co-authored-by: Alena Khineika <alena.khineika@gmail.com>
Co-authored-by: Irina Shestak <shestak.irina@gmail.com>
Co-authored-by: Durran Jordan <durran@gmail.com>
Co-authored-by: Irina Shestak <lrlna@users.noreply.github.com>
Co-authored-by: Lucas Hrabovsky <hrabovsky.lucas@gmail.com>
Co-authored-by: Rhys <Anemy@users.noreply.github.com>
Co-authored-by: Anemy <rhysh@live.com>
Branch: 1.27-releases
https://github.com/mongodb-js/compass/commit/5b22912ac9b0ba77974834dffc8d5dc0f46cca01
|