summary refs log tree commit diff
path: root/src/libsyntax/syntax.rc
AgeCommit message (Collapse)AuthorLines
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-0/+1
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-26librustc: Enforce that `extern mod` directives come first, then `use` ↵Patrick Walton-2/+2
directives, then items. Resolve them in this order as well.
2013-03-20change some uses of fail_unless to assert_eqJohn Clements-1/+0
2013-03-19syntax: move ext/deriving.rs to ext/deriving/mod.rsAndrew Paseltiner-0/+2
2013-03-13test: Fix tests. rs=testsPatrick Walton-1/+0
2013-03-12Create asm! syntax extension.Luqman Aden-0/+1
2013-03-03libsyntax: deny deprecated_self in libsyntaxErick Tryzelaar-1/+1
2013-03-01librustc: "APL2" -> "ASL2". rs=license-fixPatrick Walton-1/+1
2013-02-28Fix license attribute on cratessevrak-1/+2
2013-02-27Introduce lifetime declarations into the lists of type parameters.Niko Matsakis-0/+1
Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-1/+0
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-1/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-31test cases, cleanupJohn Clements-1/+3
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-61/+36
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-6/+0
2013-01-29librustc: De-implicit-self the visitor. r=graydonPatrick Walton-0/+1
2013-01-28Add #[legacy_records] crate attributeTim Chevalier-1/+3
In rustc, rustdoc, rusti, syntax, and std.
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-4/+4
contain at least two components. r=graydon
2012-12-21bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-3/+3
2012-12-19Remove the old serialization codeErick Tryzelaar-2/+0
Closes #3713.
2012-12-19Remove transitional path2 attributeBrian Anderson-2/+2
2012-12-17Make the path and path2 attributes equivalent. Remove some usesBrian Anderson-20/+2
2012-12-13Begin renaming serialization to std::serialize. (snapshot)Erick Tryzelaar-0/+3
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-0/+5
2012-12-12syntax: remove remaining #syntaxext machinery. Close #3516.Graydon Hoare-3/+0
2012-12-12syntax: remove most code handling old-style syntax extensions.Graydon Hoare-3/+0
2012-12-12syntax: remove all remaining uses of #ast, and #ast / qquote itself.Graydon Hoare-3/+0
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-1/+1
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Remove uses of #[merge]Brian Anderson-3/+2
2012-11-28Register snapshotsBrian Anderson-56/+27
2012-11-26Remove the crate languageBrian Anderson-2/+2
2012-11-20rustc: Implement "deriving" for monomorphic structs via a syntax extension. ↵Patrick Walton-0/+1
r=brson
2012-11-17Merge remote-tracking branch 'brson/codemap'Brian Anderson-1/+0
Conflicts: src/libsyntax/ext/source_util.rs
2012-11-13rustc: add new token-tree based quasiquoter.Graydon Hoare-0/+3
2012-11-12Convert codemap from legacy_exportsBrian Anderson-1/+0
2012-10-12bump version to 0.5.Graydon Hoare-3/+3
2012-10-08Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""Tim Chevalier-3/+0
This reverts commit a33535e441dc5461fec0489069a1491367ad1c91.
2012-10-08Revert "Remove old auto_serialize2 code (needs snapshot)"Tim Chevalier-0/+3
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.
2012-10-07Remove old auto_serialize2 code (needs snapshot)Erick Tryzelaar-3/+0
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-1/+1
2012-10-07remove the old auto_serialize syntax extensionErick Tryzelaar-0/+1
2012-09-28Add allow(deprecated_\*) to syntax, rustc, rustdoc, et alBrian Anderson-0/+2
2012-09-26libsyntax: implement auto_serialize2 for enums, records, and structsErick Tryzelaar-0/+2
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+52
#[legacy_exports];
2012-09-18rustc: Remove legacy mode inference, unless #[legacy_modes] is usedPatrick Walton-0/+2
2012-09-18Add allow(non_camel_case_types) to unconverted cratesBrian Anderson-0/+1
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-2/+2
2012-09-08libsyntax: Parse and report errors for a few obsolete syntaxesBrian Anderson-0/+3
2012-09-05rustc: "import" -> "use" in .rc filesPatrick Walton-1/+1