Commit Graph

  • 54bdc49123 AST: rename the Find primitive that returns a node into Find_First Pierre-Marie de Rodat 2016-05-23 15:04:07 -04:00
  • b16dc27f7a compiled_types.CompiledTypeMetaclass: simplify comment for _internal Pierre-Marie de Rodat 2016-05-23 14:24:06 -04:00
  • 66e7c21365 Langkit_Support.Iterators: turn a declare block into a return stmt. Pierre-Marie de Rodat 2016-05-23 14:15:37 -04:00
  • 42e361c8b3 EnvBind: add a comment to explain why we need an extra temporary Pierre-Marie de Rodat 2016-05-23 14:10:01 -04:00
  • 25f2319f97 Propagate REQUIREMENTS.dev to setup.py Pierre-Marie de Rodat 2016-05-23 13:57:20 -04:00
  • 15cd6eaa2b Properties: add new local variables to current scope by default Pierre-Marie de Rodat 2016-05-23 13:50:03 -04:00
  • 40fa3ef958 expressions.LocalVars: update obsolete "create" method docstring Pierre-Marie de Rodat 2016-05-23 12:37:00 -04:00
  • 347c66a755 Refactor enumeration for all scopes to use funcy.tree_nodes Pierre-Marie de Rodat 2016-05-23 12:17:57 -04:00
  • f11ce47a76 Fix various typos in comments Pierre-Marie de Rodat 2016-05-23 12:15:21 -04:00
  • 1294a70584 Fix a minor style issue Pierre-Marie de Rodat 2016-05-23 12:14:31 -04:00
  • 3fcfa0e7a3 REQUIREMENTS: add funcy Pierre-Marie de Rodat 2016-05-23 12:10:24 -04:00
  • 5c271186b0 Reword documentation to talk about "ownership shares" Pierre-Marie de Rodat 2016-05-23 11:48:52 -04:00
  • 24316ccb93 Lexical environments: introduce a constant for no ref-counting Pierre-Marie de Rodat 2016-05-23 11:11:45 -04:00
  • 842a0b8853 Replace "static vs dynamic" vocabulary for lexical envs Pierre-Marie de Rodat 2016-05-23 11:08:29 -04:00
  • 9742732723 Fix a style issue Pierre-Marie de Rodat 2016-05-23 10:58:38 -04:00
  • ebea8b0e56 Testsuite: build Adalog during the tear_up phase Pierre-Marie de Rodat 2016-05-25 18:00:45 -04:00
  • b13d8a6c15 Polyfill: make it possible for Run not to redirect stdout Pierre-Marie de Rodat 2016-05-25 17:57:08 -04:00
  • 5c44e6d896 Internal doc: reword as suggested in code review Pierre-Marie de Rodat 2016-05-20 18:02:56 +02:00
  • de6e4e5ae8 Generate conveniency wrappers for properties that return array types Pierre-Marie de Rodat 2016-05-20 12:15:41 +02:00
  • 684b44bf56 Minor properties code emission refactoring Pierre-Marie de Rodat 2016-05-20 12:14:12 +02:00
  • 4f85b4f937 Move Free for array types from Dec_Ref to the private part Pierre-Marie de Rodat 2016-05-20 12:12:55 +02:00
  • 2277a5e45f AST: add a Find primitive that returns the first matched node Pierre-Marie de Rodat 2016-05-20 11:19:18 +02:00
  • e357e13af5 Add missing documentation for the Find primitive that returns an array Pierre-Marie de Rodat 2016-05-20 11:05:40 +02:00
  • f910d8fdbb Fix typographic issues Pierre-Marie de Rodat 2016-05-17 16:49:42 +02:00
  • d676513865 Use the default TypeRepo instance in testcases Pierre-Marie de Rodat 2016-05-17 16:47:27 +02:00
  • b0482b3fe1 CompiledTypes: do not let subclasses inherit _internal Pierre-Marie de Rodat 2016-05-17 16:40:48 +02:00
  • 853afbf206 Minor comment adjustments in the public Ada API Pierre-Marie de Rodat 2016-05-17 16:32:57 +02:00
  • 4373c0cc7a Fix style issues Pierre-Marie de Rodat 2016-05-17 16:31:28 +02:00
  • 324ad1665e Properties: fix typing recursion detection Pierre-Marie de Rodat 2016-05-17 16:19:47 +02:00
  • 4fb9a03d3c Fix a memory leak in Langkit_Support.Iterator_Interfaces.Consume Pierre-Marie de Rodat 2016-05-17 16:19:47 +02:00
  • 2e95f5bc12 Bind ref-couting for lexical environments in the C and Python APIs Pierre-Marie de Rodat 2016-05-17 16:02:23 +02:00
  • 57efdd88de Bind ref-couting for structure types in the C and Python APIs Pierre-Marie de Rodat 2016-05-17 15:57:17 +02:00
  • a726b32efc Bind ref-couting for array types in the C and Python APIs Pierre-Marie de Rodat 2016-05-17 15:38:03 +02:00
  • 808715d843 Make it clear that CAPISettings.get_name returns mere strings Pierre-Marie de Rodat 2016-05-17 15:08:44 +02:00
  • 397462c2ca Fix a PyCharm diagnostic Pierre-Marie de Rodat 2016-05-17 13:37:43 +02:00
  • a469fd4810 Fix style issues Pierre-Marie de Rodat 2016-05-17 13:33:19 +02:00
  • d1cd6327bd Properties: generate scope finalizers and call them Pierre-Marie de Rodat 2016-05-11 18:14:38 +02:00
  • 2e5cdb8d8c Properties: add inc-ref operations in code generation Pierre-Marie de Rodat 2016-05-11 18:35:27 +02:00
  • cb0228a4dd EnvGroupArray: introduce a temporary to hold the result Pierre-Marie de Rodat 2016-05-16 18:44:19 +02:00
  • 9af24aced6 EnvGroup: introduce a temporary to hold the result Pierre-Marie de Rodat 2016-05-16 18:43:56 +02:00
  • d52fac5af9 EnvOrphan: introduce a temporary to hold the result Pierre-Marie de Rodat 2016-05-12 11:53:41 +02:00
  • b7a4ce202c EnvBind: create an owning reference for the bound environment Pierre-Marie de Rodat 2016-05-12 11:34:42 +02:00
  • 517640f877 EnvGet: introduce a temporary to hold the result Pierre-Marie de Rodat 2016-05-12 11:30:56 +02:00
  • 7d34591558 CollectionGet: introduce a temporary to hold the result Pierre-Marie de Rodat 2016-05-11 16:31:27 +02:00
  • 616773822e Templates: add a helper to increment ref-count on temporaries Pierre-Marie de Rodat 2016-05-12 11:36:48 +02:00
  • 3dc9817c5b FieldAccess: create a temporary to hold the result for this expression Pierre-Marie de Rodat 2016-05-12 09:37:36 +02:00
  • 825db67bee BuiltinCallExpr: add an option to create a temporary for the result Pierre-Marie de Rodat 2016-05-12 11:53:14 +02:00
  • d3f10e0e64 Properties: organize property local variables into scopes Pierre-Marie de Rodat 2016-05-11 16:20:35 +02:00
  • d34c7bd433 Make properties return the ownership of their result Pierre-Marie de Rodat 2016-05-11 12:26:52 +02:00
  • c5851a9f2d Add reference counting primitives for array types Pierre-Marie de Rodat 2016-05-11 11:13:45 +02:00
  • decb442c2b Add reference counting primitives for structure types Pierre-Marie de Rodat 2016-05-11 11:13:12 +02:00
  • 8025f57f4e Langkit_Support.Lexical_Env: introduce a ref-counting mechanism for envs Pierre-Marie de Rodat 2016-05-10 18:49:24 +02:00
  • afec11717b Property: introduce the basis for the reference counting mechanism Pierre-Marie de Rodat 2016-05-11 11:10:42 +02:00
  • f1c9e1eda3 Documentation: remove unintended blockquotes around lists Pierre-Marie de Rodat 2016-05-14 15:14:25 +02:00
  • adde9da677 setup.py: fix the set of adalog files in the package_data section Pierre-Marie de Rodat 2016-05-15 17:35:12 +02:00
  • ece84c3c7a create-project.py: do not pass main grammar rule name to CompileContext() Pierre-Marie de Rodat 2016-05-15 17:26:51 +02:00
  • f7829744cf setup.py: add the langkit.expressions package Pierre-Marie de Rodat 2016-05-15 17:25:32 +02:00
  • facf669579 OA27-034: Add a pass that will automatically annotate Field's types Raphael Amiard 2016-05-16 16:32:46 +02:00
  • 104ff28add OA28-063: Provide a default instantiation of TypeRepo Raphael Amiard 2016-05-16 16:30:49 +02:00
  • 0cc770c577 Minor: Fix pycharm warning via assert_type Raphael Amiard 2016-05-16 15:33:48 +02:00
  • 645cd48c4a OA28-063: Allow Fields to have defered type annotations Raphael Amiard 2016-05-16 15:33:21 +02:00
  • 0de9dce801 OA28-063: Make BasicType internal.. Raphael Amiard 2016-05-16 15:29:18 +02:00
  • c1dde0ec62 OA28-063: Make the TypeRepo mechanism more powerful Raphael Amiard 2016-05-16 15:23:58 +02:00
  • d62ab9dce7 O413-018: Correct logic.Domain expression Raphael Amiard 2016-05-14 18:30:59 +02:00
  • d4c665a71a OA28-063: Remove type props in expressions.structs Raphael Amiard 2016-05-14 14:37:59 +02:00
  • 0158fc82cc OA28-063: Remove type props in expressions.logic Raphael Amiard 2016-05-14 14:34:33 +02:00
  • 8d70c1b9cb OA28-063: Remove type props in expressions.envs Raphael Amiard 2016-05-14 14:34:11 +02:00
  • ca18b15750 OA28-063: Remove type props in expressions.collections Raphael Amiard 2016-05-14 14:29:28 +02:00
  • f1c583fe99 OA28-063: Remove type properties in expressions.boolean Raphael Amiard 2016-05-14 14:23:12 +02:00
  • 033449ce14 OA28-063: Remove type properties in expresssions.base Raphael Amiard 2016-05-14 14:20:14 +02:00
  • 4cf519d850 OA28-063: Remove unneeded type property on Let.Expr Raphael Amiard 2016-05-14 14:17:33 +02:00
  • f4568e5c6a OA28-063: Remove unneeded type property on AbstractVariable.Expr Raphael Amiard 2016-05-14 14:17:03 +02:00
  • a7eab18c1f OA28-063: Remove unneeded type property on BuiltinCallExpr Raphael Amiard 2016-05-14 14:15:50 +02:00
  • 4fc218eef8 OA28-063: Add a shortcut for ResolvedExpression's type Raphael Amiard 2016-05-14 14:10:50 +02:00
  • bdb529996e OA27-034: Emit properties for root grammar class Raphael Amiard 2016-05-14 13:59:42 +02:00
  • 8ea73dc182 OA27-034: Add SolveEquation expression Raphael Amiard 2016-05-14 13:59:18 +02:00
  • 6878deb7f8 OA27-034: Add GetLogicValue expression Raphael Amiard 2016-05-14 13:58:56 +02:00
  • 1ca1b8195e P512-017: Add an AST_Node.Find method that returns an array Raphael Amiard 2016-05-13 22:44:38 +02:00
  • bc5ead1836 Minor doc correction Raphael Amiard 2016-05-13 22:43:32 +02:00
  • 7f8fb45a2f P512-017: Add Langkit_Support.Iterator_Interfaces.Consume Raphael Amiard 2016-05-13 22:42:45 +02:00
  • 45f4a59dba OA27-034: Implement equality between logic variables Raphael Amiard 2016-05-13 16:51:55 +02:00
  • 91d5bd46d2 P512-017: Change iterator interface Raphael Amiard 2016-05-13 13:36:01 +02:00
  • bc3fc87df0 OA27-034: Adalog - Add = -> Equals renamings Raphael Amiard 2016-05-13 11:33:33 +02:00
  • 283f17930c Minor: logic.Predicate - check_sl -> check_multiple Raphael Amiard 2016-05-13 11:22:43 +02:00
  • 5232fe1a81 Minor: logic.Bind - check_sl -> check_multiple Raphael Amiard 2016-05-13 11:22:35 +02:00
  • 0f4b9be70a O413-018: Fix ast_node field -> struct. Update doc Raphael Amiard 2016-05-09 18:40:50 +02:00
  • a5affea9f9 O413-018: Update error message in binary operators Raphael Amiard 2016-05-09 12:21:49 +02:00
  • a9170f87fb libmanage.py: fix missing update for the name of the mains project file Pierre-Marie de Rodat 2016-05-13 17:09:26 +02:00
  • 0baca8348b Make it possible to disable the build of specific sets of main programs Pierre-Marie de Rodat 2016-05-13 11:11:42 +02:00
  • 32c979105d Make it possible for "mains.gpr" to handle multiple main programs Pierre-Marie de Rodat 2016-05-13 10:49:41 +02:00
  • 597ac820f9 Fix a minor typographic issue Pierre-Marie de Rodat 2016-05-13 10:40:08 +02:00
  • e4478cc72f Rename the "parse" project file name into "mains" Pierre-Marie de Rodat 2016-05-13 10:38:48 +02:00
  • 35fcd200be FieldAccess: rename result_var -> prefix_var Pierre-Marie de Rodat 2016-05-11 18:35:57 +02:00
  • 7131655dea Add a __repr__ debug helper for expressions.base.LocalVars.LocalVar Pierre-Marie de Rodat 2016-05-11 13:25:53 +02:00
  • 280526bc1d Fix a typo in a type expression Pierre-Marie de Rodat 2016-05-11 16:47:12 +02:00
  • 3702e48768 compiled_types.EquationType: fix nullexpr Pierre-Marie de Rodat 2016-05-11 12:26:13 +02:00
  • 7da434a7b8 compiled_types.ArrayType: fix a typo (missing "return" keyword) Pierre-Marie de Rodat 2016-05-11 12:15:24 +02:00
  • 8ac384c053 Properly emit all bits for EnvMetadata record types Pierre-Marie de Rodat 2016-05-11 11:01:23 +02:00
  • 3330fa21b0 Introduce precisely-typed list accessors Pierre-Marie de Rodat 2016-05-10 15:53:28 +02:00
  • 7fcd0182a2 Refactor list_types_ada.mako to put name creation logic in variables Pierre-Marie de Rodat 2016-05-10 15:41:33 +02:00